Opened 12 years ago
Closed 12 years ago
#11134 closed defect (fixed)
AccordionContainer: error on removeChild() of last child
Reported by: | Grimmy102 | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | Dijit | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
I start with an AccordionContainer object w/ 2 ContentPane children added to it via addChild(). I then attempt to clear the list and repopulate w/ new data. To do this, I iterate through the 2 child contentPane's and call AccordionContainer.removeChild() on them. On the second invocation of removeChild(), I get an error in FireBug? saying:
widget is undefined [Break on this error] (1120 out of range 516)
I've traced the code through FireBug, and it seems to happen in line 652 of ContentPane.js, when it calls widget.resize(). At this point, AccordionContainer.children is an array with one element, which is undefined: [undefined].
Change History (3)
comment:1 Changed 12 years ago by
Component: | General → Dijit |
---|---|
Description: | modified (diff) |
Owner: | anonymous deleted |
Summary: | Error in AccordionContainer removeChild() when removing last child ContentPane → AccordionContainer: error on removeChild() of last child |
comment:2 Changed 12 years ago by
Milestone: | tbd → 1.5 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Related to #10004 and #10779