Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2523 closed bug (fixed)

Sliders require child element that isn't generated

Reported by: digitalspaghetti Owned by: joern
Priority: blocker Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: slider UI Cc:
Blocked by: Blocking:

Description

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

comment:1 Changed 12 years ago by joern

Owner: changed from paul to joern

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

Resolution: fixed
Status: newclosed

Fixed in [5050].

comment:4 Changed 12 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:5 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.