aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.droppable.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-05-31 18:43:42 +0200
committerFelix Nagel <info@felixnagel.com>2012-05-31 18:43:42 +0200
commit749c8fbb6673a15c6477b43d6a6a4f7101f85a5b (patch)
treee10cd0ba0124f646d568e1dea5aa177d14f949cc /ui/jquery.ui.droppable.js
parent8abe1d015f5b8d1aa68ccc9dd1ad4744b0216938 (diff)
parente0fe788ee0c0c0d8d23f9d90b9acff713ba1302f (diff)
downloadjquery-ui-749c8fbb6673a15c6477b43d6a6a4f7101f85a5b.tar.gz
jquery-ui-749c8fbb6673a15c6477b43d6a6a4f7101f85a5b.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.droppable.js')
-rw-r--r--ui/jquery.ui.droppable.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js
index 47d3e38e9..e2ad221e1 100644
--- a/ui/jquery.ui.droppable.js
+++ b/ui/jquery.ui.droppable.js
@@ -47,18 +47,13 @@ $.widget("ui.droppable", {
},
- destroy: function() {
+ _destroy: function() {
var drop = $.ui.ddmanager.droppables[this.options.scope];
for ( var i = 0; i < drop.length; i++ )
if ( drop[i] == this )
drop.splice(i, 1);
- this.element
- .removeClass("ui-droppable ui-droppable-disabled")
- .removeData("droppable")
- .unbind(".droppable");
-
- return this;
+ this.element.removeClass("ui-droppable ui-droppable-disabled");
},
_setOption: function(key, value) {