Opened 11 years ago

Closed 10 years ago

#8275 closed bug (notabug)

Accept option doesn't work with a sortable object

Reported by: Shakapam Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.droppable Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:


Hello, It's not possible to drop a object from a sortable list, with the option "accept". The object is rejected. The only way to accept a object from ONE sortable list, is to use the "scope" option on each side (this option doesn't appear on the UI.sortable doc, but works). I reproduced the bug here: If you comment the "accept" option, drop working.

Change History (2)

comment:1 Changed 10 years ago by Scott González


comment:2 Changed 10 years ago by mikesherov

Resolution: notabug
Status: newclosed

Thanks for contributing! The accept option works as expected: I had to change the value from #sortable to #sortable li, as that's the selector that matches the elements you want to select, but this is not a bug.

Note: See TracTickets for help on using tickets.