Skip to main content

Bug Tracker

Side navigation

#2523 closed bug (fixed)

Opened March 15, 2008 02:45PM UTC

Closed March 17, 2008 11:15AM UTC

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:
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

Attachments (0)
Change History (3)

Changed March 17, 2008 09:35AM UTC by joern comment:1

owner: pauljoern

Changed March 17, 2008 09:42AM UTC by paul comment:2

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 }, ..., ...]

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

Changed March 17, 2008 11:15AM UTC by joern comment:3

resolution: → fixed
status: newclosed

Fixed in [5050].