Skip to main content

Search and Top Navigation

#2375 closed bug (fixed)

Opened February 20, 2008 10:46PM UTC

Closed February 26, 2008 05:24PM UTC

Last modified February 26, 2009 11:30AM UTC

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.

Attachments (0)
Change History (3)

Changed February 26, 2008 05:24PM UTC by paul comment:1

resolution: → fixed
status: newclosed

Thanks, fixed!

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 11:30AM UTC by paul comment:3

milestone: → 1.5