aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-02-02 11:38:51 -0500
committerScott González <scott.gonzalez@gmail.com>2012-02-02 11:38:51 -0500
commit4259978d39c6c9d8ce292ad0839d0d42c45400f0 (patch)
tree16cb390bfab613a4bee91af965ed73ee52e9dc59 /ui/jquery.ui.sortable.js
parent519985f6129cdc81bb2713e8c818ad062479d822 (diff)
downloadjquery-ui-4259978d39c6c9d8ce292ad0839d0d42c45400f0.tar.gz
jquery-ui-4259978d39c6c9d8ce292ad0839d0d42c45400f0.zip
Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work.
Diffstat (limited to 'ui/jquery.ui.sortable.js')
-rw-r--r--ui/jquery.ui.sortable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js
index 600569451..d5796a3f0 100644
--- a/ui/jquery.ui.sortable.js
+++ b/ui/jquery.ui.sortable.js
@@ -65,7 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
},
- destroy: function() {
+ _destroy: function() {
this.element
.removeClass("ui-sortable ui-sortable-disabled");
this._mouseDestroy();