Opened 11 years ago
Closed 11 years ago
#14554 closed defect (fixed)
dijit.Tree cannot be first child of dijit.layout.AccordionContainer
Reported by: | gerhard presser | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Dijit | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
if a tree is the first child of an accordion, startup fails with following error:
Fehler: this.selectedChildWidget.containerNode is null Quelldatei: http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dijit/layout/AccordionContainer.js Zeile: 2
see attached testcase.
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | tree_accordion.html added |
---|
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Thanks for the testcase, looks like a bug. Probably you can work around by setting Tree.containerNode, ex:
<div data-dojo-type=dijit.Tree ...> <script type="dojo/method"> this.containerNode = this.domNode; </script> </div>
Note: See
TracTickets for help on using
tickets.
see also: http://pastehtml.com/view/bjhc0fk2m.html