Opened 12 years ago

Closed 12 years ago

#3951 closed defect (fixed)

[themeTester.html]dialog2 example could not open normally

Reported by: guest Owned by: dante
Priority: lowest Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: themeTester.html Cc: justicejiang@…
Blocked By: Blocking:

Description

There are two dialog example in the themeTester.html page, the first one is good. but the second one which try to call a dialog with an id 'dialog2' embed into a ContentPane? widget call 'btab3' could not work correctly.

Only the block iframe is shown but the dialog body is missing when the link is clicked. I think the dijit system might have loaded this dialog2, but it cannot found the body text node when it is embed in another widget.

The following code are the definition of dialog2:

<div id="btab3" dojoType="dijit.layout.ContentPane?" title="Bottom 3" closable="true">

<p>I am the last Tab</p> <div id="dialog2" dojoType="dijit.Dialog" title="Encased Dialog" style="display:none;">

I am the second dialog. I am parented by the Low Tab Pane #3

</div>

</div>

Change History (2)

comment:1 Changed 12 years ago by bill

Component: HTMLDijit
Owner: changed from sjmiles to dante

comment:2 Changed 12 years ago by dante

Resolution: fixed
Status: newclosed

fixed in trunk. dialog attaches itself to be direct child of body now, fixing positioning/invisible dialog issue.

Note: See TracTickets for help on using tickets.