diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-06-04 19:51:59 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-06-04 19:51:59 +0000 |
commit | 98f42fc80258bd8c9dc4299472889881e4be73fa (patch) | |
tree | a41ace777c18c8786a64a3f9a8085cbdd2b2ca97 /ui/source/ui.droppable.js | |
parent | f17737b2d4b2fdd8bf474ac62a62176a9bd496bf (diff) | |
download | jquery-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.droppable.js')
-rw-r--r-- | ui/source/ui.droppable.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/source/ui.droppable.js b/ui/source/ui.droppable.js index f2ef209da..6d98183d0 100644 --- a/ui/source/ui.droppable.js +++ b/ui/source/ui.droppable.js @@ -59,14 +59,6 @@ $.widget("ui.droppable", { .removeData("droppable") .unbind(".droppable"); }, - enable: function() { - this.element.removeClass("ui-droppable-disabled"); - this.options.disabled = false; - }, - disable: function() { - this.element.addClass("ui-droppable-disabled"); - this.options.disabled = true; - }, over: function(e) { var draggable = $.ui.ddmanager.current; |