From: Scott González Date: Thu, 2 Feb 2012 16:43:22 +0000 (-0500) Subject: Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable... X-Git-Tag: 1.8.18~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=988b803be3085111cb8d741b99ab09151dc7f1b5;p=jquery-ui.git Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable() after destroy does not work. --- diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index 54adacebc..5bcc1ba5c 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -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();