summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-24 13:25:31 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-24 13:25:31 +0000
commit7cbab75a3453a63ec9b1017615a8e051cd9c9fbf (patch)
tree67e0b089ef573a63fa5614a830e3bcf20469a1aa /roundcubemail/program
parent310900d450c1f9858df2afe27b783d95e7aa1cd8 (diff)
- fixed blankpage handling in show_contentframe(): don't set display (=none) for blank content
git-svn-id: https://svn.roundcube.net/trunk@1331 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 91389415a..0727821c4 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1232,9 +1232,12 @@ function rcube_webmail()
var frm;
if (this.env.contentframe && (frm = rcube_find_object(this.env.contentframe)))
{
- if (!show && window.frames[this.env.contentframe] && frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0)
- frames[this.env.contentframe].location.href = this.env.blankpage;
- if (!bw.safari)
+ if (!show && window.frames[this.env.contentframe])
+ {
+ if (window.frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0)
+ window.frames[this.env.contentframe].location.href = this.env.blankpage;
+ }
+ else if (!bw.safari)
frm.style.display = show ? 'block' : 'none';
}