Commit 9ad1bada authored by git's avatar git Committed by Peter Droogmans (attiks)
Browse files

Issue #2884667 by Roman.UCLU: Elements with many checkboxes have bad...

Issue #2884667 by Roman.UCLU: Elements with many checkboxes have bad clientside validation performance
parent 952b9b77
......@@ -1476,7 +1476,12 @@
if (!$(element).data("being_validated")) {
$fields.data("being_validated", true);
$fields.each(function() {
validator.element(this);
if (jQuery.data(this, 'clientside_validation_validated')) {
return;
} else {
jQuery.data(this, 'clientside_validation_validated', true);
validator.element(this);
}
});
$fields.data("being_validated", false);
}
......
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