Opened 15 years ago
Closed 15 years ago
#2961 closed enhancement (fixed)
widget factory should handle enable/disable for all UI plugins
Reported by: | rdworth | Owned by: | Scott González |
---|---|---|---|
Priority: | minor | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.5rc1 |
Keywords: | widget factory enable disable | Cc: | |
Blocked by: | Blocking: |
Description
All UI plugins have enable and disable methods. The widget factory currently handles these events by setting options.disabled. Each plugin has to also handle the setData to then add/remove the appropriate css class (eg. ui-dialog-disabled). This should be handled by the widget factory since it's standard and duplicated. Plugins still need to be able handle setData (even with the disabled key) additionally.
Note: See
TracTickets for help on using
tickets.
Fixed in r145.