Commit 9112b964 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

use the span not the id

parent 84c03457
......@@ -196,8 +196,8 @@ jQuery.validator.addMethod("exclude_required", function(value, element, options)
$this = this;
// before serializing, all inputs have to be abled, otherwise they are not transmitted
var parts = $(this).attr("class").split("_"),
var parts = $(this).attr("id").split("_"),
tid = parts.slice(1, parts.lenght).join("_");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment