Opened 16 years ago
Closed 15 years ago
#880 closed bug (wontfix)
Removing sortable from a droppable gives an error
Reported by: | Owned by: | stefan | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | interface | Version: | 1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
I'm using Sortables to re-arrange items in a list plus Dropables to allow items from the list to be destroyed:
$("ul.column").Sortable( {
accept: "section", handle: ".handle", activeclass: "columnActive", hoverclass: "columnHover", helperclass: "sortHelper", opacity: 0.6, fx: 200, tolerance: "intersect"
}); $("#trash").Droppable( {
accept: "section", activeclass: "trashActive", hoverclass: "trashHover", ondrop: removeSection, tolerance: "intersect"
});
function removeSection(drag) {
drag.parentNode.removeChild(drag);
return(false);
}
This used to work in 1.0 but in 1.1.1 the item being dragged reappears once more.
Change History (1)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|---|
need: | → Review |
Resolution: | → wontfix |
Status: | new → closed |
Interface is no longer supported; consider switching to jQuery UI.