aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-03-11 21:28:51 -0400
committerMike Sherov <mike.sherov@gmail.com>2013-03-11 22:08:21 -0400
commit4d67f4f34908a50ef88f95df4103ee001b777e45 (patch)
treee14cd5bcc22a960ab65db9bd6567f9b8638ce272 /ui/jquery.ui.sortable.js
parent4f95a0f396965e91982f1b5e67da814bb6640ce1 (diff)
downloadjquery-ui-4d67f4f34908a50ef88f95df4103ee001b777e45.tar.gz
jquery-ui-4d67f4f34908a50ef88f95df4103ee001b777e45.zip
Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
Diffstat (limited to 'ui/jquery.ui.sortable.js')
-rw-r--r--ui/jquery.ui.sortable.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js
index 0f9b113a4..99bc23bdb 100644
--- a/ui/jquery.ui.sortable.js
+++ b/ui/jquery.ui.sortable.js
@@ -102,17 +102,6 @@ $.widget("ui.sortable", $.ui.mouse, {
return this;
},
- _setOption: function(key, value){
- if ( key === "disabled" ) {
- this.options[ key ] = value;
-
- this.widget().toggleClass( "ui-sortable-disabled", !!value );
- } else {
- // Don't call widget base _setOption for disable as it adds ui-state-disabled class
- $.Widget.prototype._setOption.apply(this, arguments);
- }
- },
-
_mouseCapture: function(event, overrideHandle) {
var currentItem = null,
validHandle = false,