[Svn] r2971 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Sun Sep 20 08:53:11 CEST 2009


Author: alec
Date: 2009-09-20 01:53:11 -0500 (Sun, 20 Sep 2009)
New Revision: 2971

Modified:
   trunk/roundcubemail/program/js/common.js
Log:
- fix IE version check (fixes horizontal splitter height issue)


Modified: trunk/roundcubemail/program/js/common.js
===================================================================
--- trunk/roundcubemail/program/js/common.js	2009-09-20 06:33:47 UTC (rev 2970)
+++ trunk/roundcubemail/program/js/common.js	2009-09-20 06:53:11 UTC (rev 2971)
@@ -48,8 +48,9 @@
   this.ie = (document.all) ? true : false;
   this.ie4 = (this.ie && !this.dom);
   this.ie5 = (this.dom && this.appver.indexOf('MSIE 5')>0);
-  this.ie6 = (this.dom && this.appver.indexOf('MSIE 6')>0);
+  this.ie8 = (this.dom && this.appver.indexOf('MSIE 8')>0);
   this.ie7 = (this.dom && this.appver.indexOf('MSIE 7')>0);
+  this.ie6 = (this.dom && !this.ie8 && !this.ie7 && this.appver.indexOf('MSIE 6')>0);
 
   this.mz = (this.dom && this.ver>=5);  // (this.dom && this.product=='Gecko')
   this.ns = ((this.ver<5 && this.name=='Netscape') || (this.ver>=5 && this.vendor.indexOf('Netscape')>=0));

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list