diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-02-02 11:43:22 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-02-02 11:43:22 -0500 |
commit | 988b803be3085111cb8d741b99ab09151dc7f1b5 (patch) | |
tree | 2c3907ca37aea2b153f58b63b8433451f0f02e9c | |
parent | 28668948df6d53bb1cfb9f8a6823c73309172204 (diff) | |
download | jquery-ui-988b803be3085111cb8d741b99ab09151dc7f1b5.tar.gz jquery-ui-988b803be3085111cb8d741b99ab09151dc7f1b5.zip |
Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable() after destroy does not work.
-rw-r--r-- | ui/jquery.ui.sortable.js | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |