Bug Tracker

Ticket #2523 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

Sliders require child element that isn't generated

Reported by: digitalspaghetti Owned by: joern
Priority: undecided Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: slider UI Cc:
Blocking: Blocked by:


Building the slider tests for the generic test suite, the tests fail due to the lack of a child element that is used as the handle.

The plugin does not auto-generate this handle, however this is required to allow creation of basic sliders.

See  http://dev.jquery.com/view/trunk/ui/tests/uiTest.slider.html

Change History

comment:1 Changed 7 years ago by joern

  • Owner changed from paul to joern

comment:2 Changed 7 years ago by paul

I suggest to do it the following way:

  1. the script searches for child elements with the class "ui-slider-handle"
  2. if found, it ignores all handle creation options
  3. if nothing found, it continues to look at the following options:

handles: [{ start: 0, max: 0, min: 0 }, ..., ...]

  1. it will create a new handle for every object found in the array in o.handles.

comment:3 Changed 7 years ago by joern

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

Fixed in [5050].

Note: See TracTickets for help on using tickets.