Skip to main content

Search and Top Navigation

#8275 closed bug (notabug)

Opened April 25, 2012 12:51PM UTC

Closed October 29, 2012 03:40AM UTC

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.

Attachments (0)
Change History (2)

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:1

milestone: 1.9.02.0.0

Changed October 29, 2012 03:40AM UTC by mikesherov comment:2

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.