Side navigation
#2552 closed bug (invalid)
Opened March 19, 2008 10:29AM UTC
Closed December 05, 2009 04:20AM UTC
UI Plugins - disabled option, with getter and setter
Reported by: | rworth | Owned by: | paul |
---|---|---|---|
Priority: | undecided | Milestone: | 1.2.4 |
Component: | ui | Version: | 1.2.3 |
Keywords: | disabled | Cc: | |
Blocked by: | Blocking: |
Description
For any UI plugin that can be disabled, in addition to two convenience methods (enable, disable), there should be an option: disabled, available at init, with a getter and setter. Ex:
$(el).draggable({disabled: true});
assert($(el).data("disabled.draggable") == true);
$(el).data("enable");
assert($(el).data("disabled.draggable") == false);
$(el).data("disable");
assert($(el).data("disabled.draggable") == true);
Attachments (0)
Change History (8)
Changed March 25, 2008 03:49PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed March 26, 2008 05:02PM UTC by comment:2
resolution: | fixed |
---|---|
status: | closed → reopened |
This also needs to be done for:
resizable
selectable
slider
tabs
Changed April 17, 2008 01:02PM UTC by comment:3
owner: | paul → braeker |
---|---|
status: | reopened → new |
Eduardo, could you do this for the other modules?
Changed May 04, 2008 01:51PM UTC by comment:4
Using the widget factory will automatically add the enable/disable methods.
Changed May 04, 2008 06:02PM UTC by comment:5
owner: | braeker → paul |
---|---|
status: | new → assigned |
Changed May 04, 2008 08:08PM UTC by comment:6
resolution: | → fixed |
---|---|
status: | assigned → closed |
DONE!
Changed May 16, 2008 04:15PM UTC by comment:7
resolution: | fixed |
---|---|
status: | closed → reopened |
Slider, selectable and resizable all use this.disabled instead of this.options.disabled.
Changed December 05, 2009 04:20AM UTC by comment:8
resolution: | → invalid |
---|---|
status: | reopened → closed |
Done!