Skip to main content

Search and Top Navigation

#2523 closed bug (fixed)

Opened March 15, 2008 02:45PM UTC

Closed March 17, 2008 11:15AM UTC

Last modified February 26, 2009 12:00PM UTC

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

Attachments (0)
Change History (5)

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

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 12:00PM UTC by paul comment:5

milestone: → 1.5