Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2523 closed bug (fixed)

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:
Blocked by: Blocking:


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 (3)

comment:1 Changed 15 years ago by joern

Owner: changed from paul to joern

comment:2 Changed 15 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 15 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in [5050].

Note: See TracTickets for help on using tickets.