aboutsummaryrefslogtreecommitdiffstats
path: root/ui/source/ui.selectable.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.selectable.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.selectable.js')
-rw-r--r--ui/source/ui.selectable.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/source/ui.selectable.js b/ui/source/ui.selectable.js
index 5e1683ca7..72ff9d1f2 100644
--- a/ui/source/ui.selectable.js
+++ b/ui/source/ui.selectable.js
@@ -65,14 +65,6 @@ $.widget("ui.selectable", $.extend($.ui.mouse, {
.unbind(".selectable");
this.mouseDestroy();
},
- enable: function() {
- this.element.removeClass("ui-selectable-disabled");
- this.options.disabled = false;
- },
- disable: function() {
- this.element.addClass("ui-selectable-disabled");
- this.options.disabled = true;
- },
mouseStart: function(e) {
var self = this;