diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-04-10 21:54:07 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-04-10 21:54:07 -0400 |
commit | 2f1ddd450752b5ba2efadb3fdd7b9b13b67e851e (patch) | |
tree | c7259ae942a0d678e3c7be29234f14ca4fc836a0 /src | |
parent | 62a4c8450367a8f1ef3a6ae3c5c08c7a025113c2 (diff) | |
download | jquery-2f1ddd450752b5ba2efadb3fdd7b9b13b67e851e.tar.gz jquery-2f1ddd450752b5ba2efadb3fdd7b9b13b67e851e.zip |
Fix #11500. Allow triggered, simulated change events.
Diffstat (limited to 'src')
-rw-r--r-- | src/event.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js index 63bfb3c98..46036c5cf 100644 --- a/src/event.js +++ b/src/event.js @@ -825,8 +825,9 @@ if ( !jQuery.support.changeBubbles ) { jQuery.event.add( this, "click._change", function( event ) { if ( this._just_changed && !event.isTrigger ) { this._just_changed = false; - jQuery.event.simulate( "change", this, event, true ); } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); }); } return false; @@ -1073,4 +1074,3 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl }); })( jQuery ); - |