alecpl
2008-04-24 75b1a5789b20c5ff22d11a2c100746ac651b1c02
- fixed blankpage handling in show_contentframe(): don't set display (=none) for blank content


1 files modified
9 ■■■■■ changed files
program/js/app.js 9 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -1232,9 +1232,12 @@
    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';
      }