Ticket #2440 (closed bug: fixed)
Problem with destroying a draggable
|Reported by:||jeffkretz||Owned by:||paul|
If you try to destroy a draggable that isn't actually set up as one, an exception is thrown, as the $.data function returns a null object. Easily fixed by modifying line 10 of the ui.draggable.js script:
Note this applies to droppable (and possibly other ui scripts) as well.