Skip to main content

Bug Tracker

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.

Attachments (0)
Change History (2)

Changed May 25, 2008 07:19PM UTC by Smeagol comment:1

Replying to [ticket:2938 Smeagol]:

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.

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

Changed May 26, 2008 04:31PM UTC by flesler comment:2

resolution: → invalid
status: newclosed

This is a jQuery UI issue.

Please use their bug tracker:

http://ui.jquery.com/bugs