Bug Tracker

Ticket #2523 (closed bug: fixed)

Opened 9 months ago

Last modified 9 months ago

Sliders require child element that isn't generated

Reported by: digitalspaghetti Assigned to: joern
Type: bug Priority: blocker
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: slider UI
Cc: Needs: Review

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

Change History

Changed 9 months ago by joern

  • owner changed from paul to joern

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

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

Changed 9 months ago by joern

  • status changed from new to closed
  • resolution set to fixed

Fixed in [5050].

Note: See TracTickets for help on using tickets.