mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user