Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2624 closed bug (fixed)

Error in draggable("destroy") - fix included

Reported by: chrishandorf Owned by: paul
Priority: blocker Milestone: 1.5
Component: ui.core 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 (3)

comment:1 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed

This was already fixed in the trunk.

comment:2 Changed 12 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:3 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.