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 3434 this . $form = $form ;
3535 this . $input = $input ;
3636 this . reset ( ) ;
37+ $input . on ( 'change paste' , this . reset . bind ( this ) ) ;
3738 }
3839
3940 AsyncValidation . prototype . reset = function ( ) {
5354 }
5455 return null ; // Waiting for result
5556 } 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));
5758 return this . result ;
5859 } else {
5960 if ( eventContext === 'submit' ) {
Original file line number Diff line number Diff line change 319319 displayError = false ;
320320 }
321321
322- $ . formUtils . isValidatingEntireForm = true ;
323- $ . formUtils . haltValidation = false ;
324-
325322 /**
326323 * Adds message to error message stack if not already in the message stack
327324 *
Original file line number Diff line number Diff line change 8585
8686 // Trigger jQuery event that we're about to setup validation
8787 var $form = $ ( form ) ;
88- // $.formUtils.$win.trigger('formValidationSetup', [$form, conf]);
8988 $form . trigger ( 'formValidationSetup' , [ $form , conf ] ) ;
9089
9190 // Remove classes and event handlers that might have been
Original file line number Diff line number Diff line change 5757 */
5858 haltValidation : false ,
5959
60- /**
61- * This variable will be true $.fn.isValid() is called
62- * and false when $.fn.validateOnBlur is called
63- */
64- isValidatingEntireForm : false ,
65-
6660 /**
6761 * Function for adding a validator
6862 * @param {Object } validator
You can’t perform that action at this time.
0 commit comments