Opened 13 years ago
Closed 13 years ago
#7195 closed defect (fixed)
Tree: shows "undefined" error upon close in IE
Reported by: | pmolchanov2002 | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.1.1 |
Keywords: | Tree | Cc: | |
Blocked By: | Blocking: |
Description
Hi,
I have simple example where IE 7.0 shows "undefined" error upon page close.
Tree opens and load data fine, however on close shows the "undefined" error. The data store is created with JavaScript?.
Attachments (2)
Change History (5)
Changed 13 years ago by
Changed 13 years ago by
comment:1 Changed 13 years ago by
Milestone: | future → 1.2 |
---|---|
Owner: | set to bill |
Priority: | normal → high |
Status: | new → assigned |
Summary: | digit.Tree shows "undefined" error upon close in IE 7.0 → Tree: shows "undefined" error upon close in IE |
comment:2 Changed 13 years ago by
More information:
getChildren() and similar methods in _Container are broken for TreeNodes w/out children. It's because TreeNode has an optimization where it doesn't create the containerNode until it's needed (so TreeNode.containerNode isn't defined). dijit._Container can't handle that, as a line like
return dojo.query("> [widgetId]", this.containerNode).map(dijit.byNode); // Widget[]
ends up becoming
return dojo.query("> [widgetId]", null);
which doesn't do what we want.
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the test case... it reproduces for me; I'll work on it.
It deals with destroying all the widgets on page unload.