Ticket #8275 (closed bug: notabug)

Opened 13 months ago

Last modified 7 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 8 months ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:2 Changed 7 months ago by mikesherov

  • Status changed from new to closed
  • Resolution set to notabug

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.