Side navigation
#2938 closed bug (invalid)
Opened May 25, 2008 06:24PM UTC
Closed May 26, 2008 04:31PM UTC
inst is undefined when dropping a li containing a ul
Reported by: | Smeagol | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When testing out draggables and droppables i got an error when dragging and dropping a list item containing an unordered list just when i'm dropping the list item. It works fine when dragging and dropping a list item without an unordered list
The error is "inst is undefined" and it's reported at line 874 in ui droppable widget in the drop event ( if(inst.options.greedy && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)) {)
in the jquery ui file.
Replying to [ticket:2938 Smeagol]:
might have something to do with not resulting in proper html or something cause it started to work once i made sure the dragged list item ended up in an unordered list instead of under a list item