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.sortable.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.sortable.js')
-rw-r--r-- | ui/source/ui.sortable.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/source/ui.sortable.js b/ui/source/ui.sortable.js index f5867aec5..847a054bf 100644 --- a/ui/source/ui.sortable.js +++ b/ui/source/ui.sortable.js @@ -86,14 +86,6 @@ $.widget("ui.sortable", $.extend($.ui.mouse, { items.each(function() { ret.push($(this).attr(attr || 'id')); }); return ret; }, - enable: function() { - this.element.removeClass("ui-sortable-disabled"); - this.options.disabled = false; - }, - disable: function() { - this.element.addClass("ui-sortable-disabled"); - this.options.disabled = true; - }, /* Be careful with the following core functions */ intersectsWith: function(item) { |