Changeset 8b7f5a3 in github


Ignore:
Timestamp:
Sep 17, 2008 7:22:05 AM (5 years ago)
Author:
svncommit <devs@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
2cb6d48
Parents:
c9e7c74
Message:

Workaround a (possible) IE bug (#1485309).

Location:
program/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    rd93fc99 r8b7f5a3  
    12411241          this.command('list', id); 
    12421242        } 
     1243 
     1244      // Work around a bug in IE6 and IE7, see #1485309 
     1245      if ((bw.ie6 || bw.ie7) && 
     1246          li.nextSibling && 
     1247          (li.nextSibling.getElementsByTagName("ul").length>0) && 
     1248          li.nextSibling.getElementsByTagName("ul")[0].style && 
     1249          (li.nextSibling.getElementsByTagName("ul")[0].style.display!='none')) 
     1250        { 
     1251          li.nextSibling.getElementsByTagName("ul")[0].style.display = 'none'; 
     1252          li.nextSibling.getElementsByTagName("ul")[0].style.display = ''; 
     1253        } 
     1254 
    12431255      this.http_post('save-pref', '_name=collapsed_folders&_value='+escape(this.env.collapsed_folders)); 
    12441256      this.set_unread_count_display(id, false); 
  • program/js/common.js

    r4c70d1f r8b7f5a3  
    5050  this.ie5 = (this.dom && this.appver.indexOf('MSIE 5')>0); 
    5151  this.ie6 = (this.dom && this.appver.indexOf('MSIE 6')>0); 
     52  this.ie7 = (this.dom && this.appver.indexOf('MSIE 7')>0); 
    5253 
    5354  this.mz = (this.dom && this.ver>=5);  // (this.dom && this.product=='Gecko') 
Note: See TracChangeset for help on using the changeset viewer.