From: pdontthink Date: Wed, 29 Aug 2007 18:49:57 +0000 (+0000) Subject: Revert 12623. It's frameSETs not frames. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=c6526d45ba2ddf96f39d20d042fe3d688e796fcc Revert 12623. It's frameSETs not frames. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12627 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default_advanced/page_header.tpl b/templates/default_advanced/page_header.tpl index aeec33a0..d85ef9b9 100644 --- a/templates/default_advanced/page_header.tpl +++ b/templates/default_advanced/page_header.tpl @@ -170,7 +170,14 @@ $help_link = makeInternalLink ('src/help.php', $help_str); } if (first_frame != 0) { - parent.fs2. = first_frame + ", " + second_frame; + if (document.all) + { + parent.document.all["fs2"]. = first_frame + ", " + second_frame; + } + else if (this.document.getElementById) + { + parent.document.getElementById("fs2"). = first_frame + ", " + second_frame; + } } if (self.name == 'right') { - parent.fs2. = "*, " + ; + if (document.all) + { + parent.document.all["fs2"]. = "*, " + ; + } + else if (this.document.getElementById) + { + parent.document.getElementById("fs2"). = "*, " + ; + } } // restores the preview pane if it sucked up the whole page for composing a message else if (self.name == 'bottom') { - if (parent.fs2. == "*, 100%") - parent.fs2. = "*, " + ; + if (document.all) + { + if (parent.document.all["fs2"]. == "*, 100%") + parent.document.all["fs2"]. = "*, " + ; + } + else if (this.document.getElementById) + { + if (parent.document.getElementById("fs2"). == "*, 100%") + parent.document.getElementById("fs2"). = "*, " + ; + } } // -->