Search and Top Navigation
#2552 closed bug (fixed)
Opened March 19, 2008 10:29AM UTC
Closed June 05, 2008 03:23AM UTC
UI Plugins - disabled option, with getter and setter
Reported by: | rworth | Owned by: | paul |
---|---|---|---|
Priority: | blocker | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.5b4 |
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 (12)
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 May 24, 2008 03:39AM UTC by comment:8
milestone: | 1.2.4 |
---|
Milestone 1.2.4 deleted
Changed May 24, 2008 03:44AM UTC by comment:9
milestone: | → 1.5 |
---|---|
version: | 1.2.3 → 1.5b4 |
Changed May 25, 2008 09:49PM UTC by comment:10
resolution: | → fixed |
---|---|
status: | reopened → closed |
Changed June 05, 2008 03:11AM UTC by comment:11
resolution: | fixed |
---|---|
status: | closed → reopened |
Slider still uses this.disabled.
Changed June 05, 2008 03:23AM UTC by comment:12
resolution: | → fixed |
---|---|
status: | reopened → closed |
Fixed in r146.
Done!