#5573 closed defect (fixed)
Button: Error on IE6 calling setLabel("") if showLabel=false
Reported by: | guest | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Dijit - Form | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Try the following code on IE6:
var b; b = new dijit.form.Button(); b.showLabel = false; b.setLabel("");
you'll get:
[ Error: 'undefined' is null or not an object ]
Same problem this way:
<button dojoType="dijit.form.Button" showLabel="false"></button>
Attached patch fix the problem.
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | dijitButton.patch added |
---|
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Milestone: | → 1.1 |
Owner: | set to Douglas Hays |
Priority: | high → normal |
Summary: | Error on IE6 in dijit.form.Button calling setLabel("") if showLabel=false → Button: Error on IE6 calling setLabel("") if showLabel=false |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
Proposed patch to fix problem