diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-11-09 12:54:33 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-11-09 12:54:33 -0500 |
commit | 1cdeeccab0e76495842cad9d04e686aee802777d (patch) | |
tree | 3094f7dc3e299c5ab8fe69f93cd110b08e1252c3 /ui | |
parent | d44557f50ad7b3c512bdd8bc2ba3eed5672b3b12 (diff) | |
download | jquery-ui-1cdeeccab0e76495842cad9d04e686aee802777d.tar.gz jquery-ui-1cdeeccab0e76495842cad9d04e686aee802777d.zip |
Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.widget.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 65ac155ae..02f89bc98 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -232,7 +232,7 @@ $.Widget.prototype = { if ( element !== this ) { $.data( element, this.widgetFullName, this ); - this._on( this.element, { + this._on( true, this.element, { remove: function( event ) { if ( event.target === element ) { this.destroy(); |