Opened 8 years ago

Closed 8 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)

tree_accordion.html (4.7 KB) - added by gerhard presser 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by gerhard presser

Attachment: tree_accordion.html added

comment:2 Changed 8 years ago by bill

Milestone: tbd1.8
Owner: set to bill
Status: newassigned

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>
Last edited 8 years ago by bill (previous) (diff)

comment:3 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

In [27497]:

Remove vestigial code from AccordionContainer, which was breaking AccordionContainer having children without containerNodes. Fixes #14554 !strict.

Note: See TracTickets for help on using tickets.