Bug Tracker

Modify

Ticket #2482 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

UI 1.5b Slider slider('destroy') throws excetion

Reported by: istvano Owned by: braeker
Priority: critical Milestone: 1.2.3
Component: ui Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

The following line throws an exception:

this.handles.removeMouseInteraction(); ( line 141 )

when I call the destroy method, stating thet this.handle has no properties.

I checked the object is null.

I tried the following ( removing the s at the end, as I can see there is a handle property not a handles one) .

although I do this, and then I re-create the slider, it just does not work, the min, max uses the old slider values, also the drag does not get initialized properly.

this.handle.removeMouseInteraction();

Change History

comment:1 Changed 5 years ago by paul

  • Owner changed from paul to braeker

comment:2 Changed 5 years ago by scott.gonzal

The re-creation problem is probably linked to #2496, which has been fixed.

comment:3 Changed 5 years ago by joern

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

Duplicate of #2496.

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.