File tree Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 34
34
this . $form = $form ;
35
35
this . $input = $input ;
36
36
this . reset ( ) ;
37
+ $input . on ( 'change paste' , this . reset . bind ( this ) ) ;
37
38
}
38
39
39
40
AsyncValidation . prototype . reset = function ( ) {
53
54
}
54
55
return null ; // Waiting for result
55
56
} else if ( this . hasRun ) {
56
- this . $input . one ( 'keyup paste' , this . reset . bind ( this ) ) ;
57
+ // this.$input.one('keyup change paste', this.reset.bind(this));
57
58
return this . result ;
58
59
} else {
59
60
if ( eventContext === 'submit' ) {
Original file line number Diff line number Diff line change 319
319
displayError = false ;
320
320
}
321
321
322
- $ . formUtils . isValidatingEntireForm = true ;
323
- $ . formUtils . haltValidation = false ;
324
-
325
322
/**
326
323
* Adds message to error message stack if not already in the message stack
327
324
*
Original file line number Diff line number Diff line change 85
85
86
86
// Trigger jQuery event that we're about to setup validation
87
87
var $form = $ ( form ) ;
88
- // $.formUtils.$win.trigger('formValidationSetup', [$form, conf]);
89
88
$form . trigger ( 'formValidationSetup' , [ $form , conf ] ) ;
90
89
91
90
// Remove classes and event handlers that might have been
Original file line number Diff line number Diff line change 57
57
*/
58
58
haltValidation : false ,
59
59
60
- /**
61
- * This variable will be true $.fn.isValid() is called
62
- * and false when $.fn.validateOnBlur is called
63
- */
64
- isValidatingEntireForm : false ,
65
-
66
60
/**
67
61
* Function for adding a validator
68
62
* @param {Object } validator
You can’t perform that action at this time.
0 commit comments