Bug Tracker

Opened 12 years ago

Closed 12 years ago

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

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 (1)

comment:1 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed

This was already fixed in the trunk.

Note: See TracTickets for help on using tickets.