Bug Tracker

Modify

Ticket #2624 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

This was already fixed in the trunk.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.