Ticket #2966 (closed bug: invalid)
"inst" variable can be undefined and cause Droppable to fail
|Reported by:||fkrueger||Owned by:|
I have a nested DIV structure where each DIV is draggable and droppable. When dropping a child DIV onto a parent DIV, this line of the "drop" function of ui.droppable:
var inst = $.data(this, 'droppable'); line 100 of ui.droppable.js
returns an undefined value for inst. This causes the remainder of the function to fail.
As a patch I just put an "if (inst)" around the remainder of the code. This works, and the drop succeeds.