Commit 7a8cbd28 authored by Boris Kocherov's avatar Boris Kocherov

remove validateForm function

parent fe719311
......@@ -298,10 +298,6 @@
});
}
function validateForm(gadget, json_url) {
return gadget.processValidation(json_url);
}
function addSubForm(g, options) {
var element = options.element,
key = element.parentNode.querySelector("input[type='text']").value,
......@@ -343,7 +339,7 @@
field_list[i],
'change',
false,
validateForm.bind(g, g, g.options.schema_url)
gadget.processValidation.bind(g, g.options.schema_url)
));
}
......
Markdown is supported
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