Search and Top Navigation
#9287 closed bug (fixed)
Opened May 13, 2013 02:49PM UTC
Closed October 29, 2013 05:59PM UTC
Last modified October 29, 2013 06:00PM UTC
Droppable: Scope option cannot be changed after initialization
Reported by: | aherbst | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.droppable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
browser: Firefox 18.0.2
OS: Fedora 16
jsFiddle: http://jsfiddle.net/aherbst/gA6ZR/
This issue is summarized in http://stackoverflow.com/questions/3097332/jquery-drag-droppable-scope-issue. Basically, the $.ui.ddmanager.droppables array is not updated when you call
$('.droppable').droppable('option','scope','foo')
So Draggables with the scope 'foo' can no longer be dropped onto that Droppable. In the jsFiddle, if you comment out the 'option' calls on lines 3 and 4, and uncomment the block underneath (which is his solution from StackOverflow), then it works.
Attachments (0)
Change History (5)
Changed May 14, 2013 02:39AM UTC by comment:1
status: | new → open |
---|---|
summary: | Setting scope on Droppable via 'option' call does not work → Droppable: Scope option cannot be changed after initialization |
Changed October 29, 2013 02:52PM UTC by comment:3
Proposed pull - https://github.com/jquery/jquery-ui/pull/1124
Changed October 29, 2013 05:59PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | open → closed |
Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization.
Changeset: ffab89e9bee97cf7cc74249b6e4ce9dd798013c9
Changed October 29, 2013 06:00PM UTC by comment:5
milestone: | none → 1.11.0 |
---|