Response title
This is preview!
There's a bug in jQuery when setting the scope option of a droppable via the option function. jQuery maintains an array with all registered sortables (let's call it S for now), where each key is one specific scope. When you drop a draggable element into the droppable, jQuery then checks the scope attribute of the draggable and checks if the droppable you are trying to drag into is present in S[scope]. If it isn't it means that the droppable you are tring to drop into is not in the same scope as the draggable.The problem is that when you change the scope option by doing .droppable('option', 'scope', ...), the array S isn't updated. Everything else (as far as I can see) is updated correctly (option attribute of the actual jQuery object etc), leading to "correct" results being returned when getting the scope option via .droppable('option', 'scope').
© 2013 jQuery Foundation
Sponsored by and others.