Condor70
2 Feb 2007, 6:49 AM
Adding 'disabled: true' to the config of a ToolbarButton doesn't work.
Reason: The ytb-button-disabled class isn't added in setDisabled because this.el isn't created yet.
Solution: In YAHOO.ext.ToolbarButton.init move the call to setDisabled below the this.el assignment.
Reason: The ytb-button-disabled class isn't added in setDisabled because this.el isn't created yet.
Solution: In YAHOO.ext.ToolbarButton.init move the call to setDisabled below the this.el assignment.