Ticket #5191 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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:
Blocking: Blocked by:


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

comment:1 Changed 6 years ago by scott.gonzalez

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

Fixed in r3828.

Note: See TracTickets for help on using tickets.