Commit c53dbe5f authored by Jelle Sebreghts's avatar Jelle Sebreghts
Browse files

Issue #1516274 by LeoDoms: Clash between "Hierarchical select" and "Clientside validation" module.

parent 09f8f007
......@@ -7,7 +7,7 @@
else {
var update = false;
jQuery.each(Drupal.settings.clientsideValidation.forms, function (f) {
if ($(context).find('#' + f).length || $(context).attr('id') == f) {
if ($(context).find('#' + f).length || $(context).is('#' + f)) {
update = true;
}
});
......
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