Opened 8 years ago
Closed 8 years ago
#10901 closed bug (cantfix)
JQuery UI Sortable and Inline Script Tags
Reported by: | michaelhodgejr | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
JsFiddle: http://jsfiddle.net/UAcC7/1291/ JQuery v1.1.1 JQuery UI: 1.11.2
I'm using the jQuery UI Sortable library to sort li items. I'm running into a bug where if I try to sort an item that contains a script tag that modifies the DOM then when that element is sorted, it removes the content.
To reproduce, click on the JS Fiddle. If you move "Item 2" above the CNN embed widget, then it works just fine.
Move the CNN widget however and you find that the content disappears. I'm not sure if this is a bug with Sortable or if I'm missing a step to prevent this from occurring.
Note: See
TracTickets for help on using
tickets.
This is going to break no matter what jQuery UI does. See http://jsfiddle.net/UAcC7/1293/