Changeset 1331 in subversion


Ignore:
Timestamp:
Apr 24, 2008 9:25:31 AM (5 years ago)
Author:
alec
Message:
  • fixed blankpage handling in show_contentframe(): don't set display (=none) for blank content
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r1320 r1331  
    12331233    if (this.env.contentframe && (frm = rcube_find_object(this.env.contentframe))) 
    12341234      { 
    1235       if (!show && window.frames[this.env.contentframe] && frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0) 
    1236         frames[this.env.contentframe].location.href = this.env.blankpage; 
    1237       if (!bw.safari) 
     1235      if (!show && window.frames[this.env.contentframe]) 
     1236        { 
     1237        if (window.frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0) 
     1238          window.frames[this.env.contentframe].location.href = this.env.blankpage; 
     1239        } 
     1240      else if (!bw.safari) 
    12381241        frm.style.display = show ? 'block' : 'none'; 
    12391242      } 
Note: See TracChangeset for help on using the changeset viewer.