#10169 closed defect (fixed)
ComboButton: disabled doesn't look disabled (regression)
Reported by: | bill | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Dijit - Form | Version: | 1.4.0b |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Noticed in test_Button.html (on safari) that pressing the "disable all" button doesn't make the ComboButton look disabled; it doesn't change at all. Used to work in 1.3.
Change History (5)
comment:1 Changed 11 years ago by
Owner: | set to Eugene Lazutkin |
---|---|
Priority: | normal → high |
comment:2 Changed 11 years ago by
severity: | normal → major |
---|
comment:3 Changed 11 years ago by
This problem is because dijit.byId("comboCreate") instanceof dijit.form.Button
is returning false now, rather than true. (comboCreate is a ComboButton.) The inheritance chain is pretty simple:
dojo.declare("dijit.form.ComboButton", dijit.form.DropDownButton, { ... ... dojo.declare("dijit.form.DropDownButton", [dijit.form.Button, dijit._Container, dijit._HasDropDown], { ...
comment:5 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
seems to be caused by [20284] dojo/_base/declare.js