Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2375 closed bug (fixed)

error in draggable("destroy")

Reported by: Veryth Owned by: paul
Priority: blocker Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

Summary:
When calling $(...).draggable("destroy") the following line will throw an error:

ui.draggable.js(77): this.handle.removeMouseInteraction();

The error states that "this.handle" has no properties. Upon inspection it appears to be that "this.handle" is undefined.

Possible Solution:
Looks like it should be referring to "this.options.handle" instead of "this.handle".

I made the change on my local code and it appears to work as expected.

Change History (3)

comment:1 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

Thanks, fixed!

comment:2 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:3 Changed 14 years ago by paul

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