Skip to main content

Search and Top Navigation

#4881 closed bug (fixed)

Opened September 28, 2009 12:53PM UTC

Closed March 28, 2011 09:34PM UTC

Last modified March 28, 2011 09:35PM UTC

Slider: value and values methods as setters aren't chainable

Reported by: danwellman Owned by:
Priority: major Milestone: 1.8.12
Component: ui.slider Version: 1.7.2
Keywords: values Cc:
Blocked by: Blocking:
Description

When using the values method of the slider (to set the value of multiple handles), the method returns the new value for each handle instead of returning the chain, so the values method cannot have additonal methods chained to it

Attachments (0)
Change History (6)

Changed November 17, 2009 03:19PM UTC by jzaefferer comment:1

milestone: TBD1.8

Changed March 28, 2011 09:16PM UTC by fofanafi comment:2

_comment0: Verified for jQuery 1.8.11: setting the value or values returns the new value instead of the widget. \ \ Test code: \ http://jsbin.com/ehubo/251301347013495102
status: newopen

Verified under jQuery UI 1.8.11: setting the value or values returns the new value instead of the widget.

Test code:

http://jsbin.com/ehubo/25

Changed March 28, 2011 09:33PM UTC by scottgonzalez comment:3

summary: Bug in values (setter mode) method with Slider widgetSlider: value and values methods as setters aren't chainable

Changed March 28, 2011 09:34PM UTC by Scott González comment:4

resolution: → fixed
status: openclosed

Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable.

Changeset: 2197c61f1f91a7b5046fb994d370f38ded602ee6

Changed March 28, 2011 09:35PM UTC by Scott González comment:5

Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable.

(cherry picked from commit 2197c61f1f91a7b5046fb994d370f38ded602ee6)

Changeset: 8310d185b3a5fc8f433f0736a22298e84ac73f7d

Changed March 28, 2011 09:35PM UTC by scottgonzalez comment:6

milestone: 1.91.8.12