Opened 15 years ago

Closed 15 years ago

#3694 closed defect (fixed)

LayoutContainer: improper addChild method defined

Reported by: Douglas Hays Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


addChild: function(child, overrideContainerNode, pos, ref, insertIndex){
        dijit._Container.prototype.addChild.apply(this, arguments);
        dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren());

appears to call _Container addChild with incorrect parameters since only child and insertIndex are allowed there. Also the other parameters appear to not be used.

Change History (1)

comment:1 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

(In [9580]) Incorrect signature for addChild(). Fixes #3694.

Note: See TracTickets for help on using tickets.