Commit 7c6f65bf authored by jelles's avatar jelles
Browse files

fix arguments for clientsideValidationFormHasErrors event

parent 6e2c96f2
......@@ -387,7 +387,7 @@
* @name clientsideValidationFormHasErrors
* @memberof Drupal.clientsideValidation
*/
jQuery.event.trigger('clientsideValidationFormHasErrors', form.currentTarget);
jQuery.event.trigger('clientsideValidationFormHasErrors', [form.target]);
}
}
};
......
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