Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18498 closed defect (invalid)

Issue with borderContainer

Reported by: mauricio.gomes Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

I found an issue placing a dijit/layout/BorderContainer in some page loaded via xhr. My site have a main page with a TabContainer? and inside one of the tabs there is a button that triggers the xhr function. When I click it and the content is showed up the borderContainer aparently is not built correctly. But if I click in another tab and click back to the first, the BorderContainer? is showed correctly. Any clue why this happens?

Attachments (1)

test_borderContainer.zip (3.2 KB) - added by mauricio.gomes 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by mauricio.gomes

Attachment: test_borderContainer.zip added

comment:1 Changed 4 years ago by bill

Resolution: invalid
Status: newclosed

Yes, you can't do this:

dom.byId(idContainer).innerHTML = newContent;

You need to run the parser, etc. when you insert new content into a document. Instead of doing the XHR directly trying using ContentPane? and setting the href.

comment:2 Changed 4 years ago by mauricio.gomes

I see, I did what you said and worked fine. Sorry for that!

Note: See TracTickets for help on using tickets.