aboutsummaryrefslogtreecommitdiffstats
path: root/ui/source/ui.draggable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-06-04 19:51:59 +0000
committerScott González <scott.gonzalez@gmail.com>2008-06-04 19:51:59 +0000
commit98f42fc80258bd8c9dc4299472889881e4be73fa (patch)
treea41ace777c18c8786a64a3f9a8085cbdd2b2ca97 /ui/source/ui.draggable.js
parentf17737b2d4b2fdd8bf474ac62a62176a9bd496bf (diff)
downloadjquery-ui-98f42fc80258bd8c9dc4299472889881e4be73fa.tar.gz
jquery-ui-98f42fc80258bd8c9dc4299472889881e4be73fa.zip
Core: Exposed the base widget prototype; Adding/removing disabled classes automatically.
Draggable, Droppable, Resizable, Selectable, Sortable: Removed unneeded enable/disable methods. Dialog: Delegating standard functionality for setData to the widget prototype.
Diffstat (limited to 'ui/source/ui.draggable.js')
-rw-r--r--ui/source/ui.draggable.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/source/ui.draggable.js b/ui/source/ui.draggable.js
index 36f9d1ac3..6e9888d35 100644
--- a/ui/source/ui.draggable.js
+++ b/ui/source/ui.draggable.js
@@ -30,10 +30,6 @@ $.widget("ui.draggable", $.extend($.ui.mouse, {
this.mouseInit();
},
- setData: function(key, value) {
- (key == 'disabled' && this.element[(value ? 'add' : 'remove') + 'Class']('ui-draggable-disabled'));
- this.options[key] = value;
- },
mouseStart: function(e) {
var o = this.options;