Commit 2c3b3bfa authored by morningtime's avatar morningtime Committed by jelles
Browse files

Issue #2127093 by morningtime: Conflict with rules module.

parent 9d564fc5
......@@ -28,6 +28,9 @@
}
}
else {
if (typeof(Drupal.settings.clientsideValidation.forms) === 'undefined') {
return;
}
var update = false;
jQuery.each(Drupal.settings.clientsideValidation.forms, function (f) {
if ($(context).find('#' + f).length || $(context).is('#' + f)) {
......@@ -193,6 +196,9 @@
Drupal.clientsideValidation.prototype.bindForms = function(){
var self = this;
var groupkey;
if (typeof(self.forms) === 'undefined') {
return;
}
self.time.start('2. bindForms');
// unset invalid forms
jQuery.each (self.forms, function (f) {
......
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