Skip to content

Slider: allow range option to be changed. Fixed #5602 - Slider Does Not ...#903

Merged
petersendidit merged 0 commit intojquery:masterfrom
petersendidit:slider_5602
Feb 12, 2013
Merged

Slider: allow range option to be changed. Fixed #5602 - Slider Does Not ...#903
petersendidit merged 0 commit intojquery:masterfrom
petersendidit:slider_5602

Conversation

@petersendidit
Copy link
Member

...Exhibit Proper Behavior When Switching Range

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're setting the disabled property on the handle? That doesn't seem correct.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems bad, since it's not a standard property. Can we change this test to check that the slider gets the disabled class and that dragging a handle doesn't do anything? This seems unrelated to the range changes anyway; we should pull this out into a separate PR that adds proper disable tests and remove the prop setting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petersendidit petersendidit merged commit ab408c9 into jquery:master Feb 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants