Skip to content

Commit

Permalink
Sortable: Fixed destroy method to call parent destroy method. Fixes #…
Browse files Browse the repository at this point in the history
…8094 - .sortable() after destroy does not work.
  • Loading branch information
scottgonzalez committed Feb 2, 2012
1 parent 2866894 commit 988b803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/jquery.ui.sortable.js
Expand Up @@ -65,6 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
},

destroy: function() {
$.Widget.prototype.destroy.call( this );
this.element
.removeClass("ui-sortable ui-sortable-disabled");
this._mouseDestroy();
Expand Down

0 comments on commit 988b803

Please sign in to comment.