The div "popupFrame" must be present in all templates when in single-window mode.

Monotone-Parent: fce986ab489e9ac262c4134c7155bb803867cace
Monotone-Revision: 18957933ff736ec180d169de7fd49cb3822d876b

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-08T22:53:07
This commit is contained in:
Francis Lachapelle
2011-12-08 22:53:07 +00:00
parent a5d9149791
commit 86c4de27d8
+4 -1
View File
@@ -11,7 +11,10 @@
<script type="text/javascript" rsrc:src="generic.js"><!-- space --></script>
</head>
<body style="background-color: #dbdad5;"
><script type="text/javascript"
><var:if condition="singleWindowModeEnabled"
><div id="popupFrame"><!-- space --></div
></var:if
><script type="text/javascript"
><var:if condition="hasRefreshMethod">
var p = <var:if condition="singleWindowModeEnabled">parent</var:if><var:if condition="singleWindowModeEnabled" const:negate="YES">window.opener</var:if>;
if (p) p.setTimeout('<var:string value="refreshMethod" const:escapeHTML="NO" />;', 50);