Opened 8 years ago

Closed 7 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:

Description

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: http://jsfiddle.net/x2nXB/ If you comment the "accept" option, drop working.

Change History (2)

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

Milestone: 1.9.02.0.0

comment:2 Changed 7 years ago by mikesherov

Resolution: notabug
Status: newclosed

Thanks for contributing! The accept option works as expected: http://jsfiddle.net/VAZ7J/1/ 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.