Skip to main content

Search and Top Navigation

#5191 closed bug (fixed)

Opened February 17, 2010 02:52PM UTC

Closed February 18, 2010 04:47AM UTC

Draggable: stack option can throw error

Reported by: scottgonzalez Owned by:
Priority: critical Milestone: 1.8
Component: ui.draggable Version: 1.8rc1
Keywords: Cc:
Blocked by: Blocking:
Description

From a forum post:

The fact that draggable stack option is now a selector apparently introduced a bug. If no elements exist that match the selector, you get an error on drag (jquery-ui.js line 1341 group[0] is undefined). A simple check for an element at 0 would fix this bug. (my use case is that the dragged element gets assigned the class that matches this selector on drop, and subsequent drags of other elements would stay on top of previously dropped elements)

Attachments (0)
Change History (1)

Changed February 18, 2010 04:47AM UTC by scottgonzalez comment:1

resolution: → fixed
status: newclosed

Fixed in r3828.