Skip to content

Commit 1f9203b

Browse files
committed
Added parameter $form on "onElementValidate"
1 parent d6288f9 commit 1f9203b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form-validator/jquery.form-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348

349349
// Run element validation callback
350350
if( typeof conf.onElementValidate == 'function' ) {
351-
conf.onElementValidate((validation === true), $elem, validation);
351+
conf.onElementValidate((validation === true), $elem, $form, validation);
352352
}
353353

354354
if(validation !== true) {

0 commit comments

Comments
 (0)