Changeset 822a1ef in github


Ignore:
Timestamp:
Dec 30, 2011 11:58:59 AM (18 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
354bf1c
Parents:
f5521a4
Message:

Fix bug in IE code; show (tem,porary) warning for old IEs

Location:
skins/larry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skins/larry/templates/login.html

    r2644760 r822a1ef  
    3333</div> 
    3434 
     35<roundcube:include file="/includes/footer.html" /> 
     36 
    3537</body> 
    3638</html> 
  • skins/larry/ui.js

    rf5521a4 r822a1ef  
    134134          orientation:'v', relative:true, start:296, min:220, size:12 }).init(); 
    135135      } 
    136  
     136    } 
     137    else if (rcmail.env.task == 'login') { 
     138      if (bw.ie && bw.ver < 9) { 
     139        var popup = $('<div>') 
     140          .addClass('readtext') 
     141          .html("Roundcube will not work well with the crappy browser ya' using. Get yourself a new internet browsing software and don't come back without!<p>Sincerly,<br/>the Roundcube Dev Team</p>") 
     142          .appendTo(document.body) 
     143          .dialog({ 
     144            dialogClass: 'alert', 
     145            closeOnEscape: true, 
     146            title: "No way, are you serious?", 
     147            close: function() { 
     148              popup.dialog('destroy').remove(); 
     149            }, 
     150            width: 450 
     151          }); 
     152      } 
    137153    } 
    138154 
     
    771787      if (bw.ie) { 
    772788        var new_height = parseInt(this.p2.parent().outerHeight(), 10) - parseInt(this.p2.css('top'), 10) - (bw.ie8 ? 2 : 0); 
    773         this.p2.css('height') = (new_height > 0 ? new_height : 0) + 'px'; 
     789        this.p2.css('height', (new_height > 0 ? new_height : 0) + 'px'); 
    774790      } 
    775791    } 
Note: See TracChangeset for help on using the changeset viewer.