Opened 12 years ago

Closed 12 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.

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r145.

Note: See TracTickets for help on using tickets.