Opened 6 years ago

Closed 6 years ago

#5191 closed bug (fixed)

Draggable: stack option can throw error

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


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)

Change History (1)

comment:1 Changed 6 years ago by scott.gonzalez

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3828.

Note: See TracTickets for help on using tickets.