Opened 11 years ago

Closed 11 years ago

#9060 closed defect (fixed)

Dijit test.html fails

Reported by: Aleksey Rechinskiy Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

.\dojo1.3\dijit\tests\test.html fails to start in ff3.0.8 and ie6 because of unhandled exception in dijit.form.Button line 101: this.params is undefined.

99 _fillContent: function(/*DomNode*/ source){
98 // Overrides _Templated._fillcContent().
99 // If button label is specified as srcNodeRef.innerHTML rather than
100 // this.params.label, handle it here.
101 if(source && !("label" in this.params)){
102 this.attr('label', source.innerHTML);
103 }

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Milestone: 1.3.11.4

comment:2 Changed 11 years ago by bill

Owner: set to bill
Status: newassigned

This is just happening because new dijit.form.Button() is being called without a parameter object (even an empty one), ie:

new dijit.form.Button()

instead of:

new dijit.form.Button({})

I'll change the code to handle that; not sure what our policy is on whether or not that parameters argument is optional.

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

Fixed in [17436].

Note: See TracTickets for help on using tickets.