diff options
author | John Resig <jeresig@gmail.com> | 2010-10-25 20:25:25 -0700 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-10-25 20:25:25 -0700 |
commit | a68a85ad09dc79cb2a7ea8b6abd1f880f218277c (patch) | |
tree | 2a58071210fd6f339391ade06116369a9065ade0 | |
parent | de58db0cdf4dc08db8683ad6cd0035c5d64b26ac (diff) | |
parent | bd474799bf95f4ecdc47a7577750eaf69e2236d4 (diff) | |
download | jquery-a68a85ad09dc79cb2a7ea8b6abd1f880f218277c.tar.gz jquery-a68a85ad09dc79cb2a7ea8b6abd1f880f218277c.zip |
Merge branch 'jquery_dev' of http://github.com/danheberden/jquery into danheberden-jquery_dev
-rw-r--r-- | src/event.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event.js b/src/event.js index 959e89c5e..cf3ec2ac7 100644 --- a/src/event.js +++ b/src/event.js @@ -1068,6 +1068,11 @@ function liveHandler( event ) { if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) { return; } + + // IE will still dispatch events on disabled elements, so halt it (#6911) + if( event.target.disabled ) { + return; + } if ( event.namespace ) { namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); |