Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work.

This commit is contained in:
Scott González 2012-02-02 11:38:51 -05:00
parent 519985f612
commit 4259978d39

View File

@ -65,7 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
},
destroy: function() {
_destroy: function() {
this.element
.removeClass("ui-sortable ui-sortable-disabled");
this._mouseDestroy();