summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-24 13:25:31 +0000
committeralecpl <alec@alec.pl>2008-04-24 13:25:31 +0000
commit75b1a5789b20c5ff22d11a2c100746ac651b1c02 (patch)
tree17201ddac3421ff4a470de68f426042ef7357a0a /program/js/app.js
parentae0c82b0e4883268d977c377b9d023c658887a5d (diff)
- fixed blankpage handling in show_contentframe(): don't set display (=none) for blank content
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 91389415a..0727821c4 100644
--- a/program/js/app.js
+++ b/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';
}