Bug Tracker

Opened 13 years ago

Closed 12 years ago

#880 closed bug (wontfix)

Removing sortable from a droppable gives an error

Reported by: stephen@… Owned by: stefan
Priority: major Milestone:
Component: interface Version: 1.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by scott.gonzal)

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 12 years ago by scott.gonzal

Description: modified (diff)
need: Review
Resolution: wontfix
Status: newclosed

Interface is no longer supported; consider switching to jQuery UI.

Note: See TracTickets for help on using tickets.