Opened 12 years ago

Closed 12 years ago

#10317 closed defect (fixed)

AccordionContainer reload fails

Reported by: Jean-Pascal Laux Owned by:
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


I have already posted this problem but this time, I add an example. In this example, you have 2 buttons : Blank and Accordion.

When you click on Accordion button, you get an accordion with 2 panes. Then clik on Blank button and the accordion disappears. Now click again on Accordion button and no accordion is displayed and only the content of each pane are displayed;

After logging this behaviour, I detected that the internal ContentPane? are not destroyed when the DIV content changes.

For the moment, I have solved the problem by renaming destroy function to destroyRecursive in AccordionContainer?.

Attachments (1) (1.2 KB) - added by Jean-Pascal Laux 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Jean-Pascal Laux

Attachment: added

comment:1 Changed 12 years ago by bill

Milestone: tbd1.4
Resolution: fixed
Status: newclosed

You've got a typo in your test case (test-3b) where it says dojoType="dijit.ContentPane?" instead of dojoType="dijit.layout.ContentPane?".

After fixing that, I'm able to reproduce the problem on 1.3. However, it's working fine in 1.4.

Note: See TracTickets for help on using tickets.