Search and Top Navigation
#8094 closed bug (fixed)
Opened February 02, 2012 02:59PM UTC
Closed February 02, 2012 04:43PM UTC
Last modified February 02, 2012 04:44PM UTC
.sortable() after "destroy" does not work
Reported by: | zuckel | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.18 |
Component: | ui.sortable | Version: | 1.8.17 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In my scenario I need to activate and deactivate sortable lists a lot.
After upgrading from 1.8.16 to 1.8.17 my sortables will only work the first time.
Example:
<div id="sortStuff">
<div>text</div>
<div>text</div>
<div>text</div>
</div>
<script>
$('#sortStuff').sortable();
$('#sortStuff').sortable("destroy");
$('#sortStuff').sortable();
</script>
Items will be sortable in 1.8.16, but not in 1.8.17.
Attachments (0)
Change History (3)
Changed February 02, 2012 04:43PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed February 02, 2012 04:43PM UTC by comment:2
Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable() after destroy does not work.
Changeset: 988b803be3085111cb8d741b99ab09151dc7f1b5
Changed February 02, 2012 04:44PM UTC by comment:3
milestone: | 1.9 → 1.8.18 |
---|
Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work.
Changeset: 4259978d39c6c9d8ce292ad0839d0d42c45400f0