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: |
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 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.