Modify ↓
Ticket #2624 (closed bug: fixed)
Error in draggable("destroy") - fix included
| Reported by: | chrishandorf | Owned by: | paul |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.2.4 |
| Component: | ui | Version: | 1.2.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Lines 76 & 77 in ui.draggable.js are:
destroy: function() {
this.handle.removeMouseInteraction();
This causes a javascript error like "this.handle has no properties".
I changed the code on line 77 to:
this.options.handle.removeMouseInteraction();
Now it seems to work fine.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

This was already fixed in the trunk.