From: Jean-Philippe Lang Date: Wed, 2 May 2007 17:31:42 +0000 (+0000) Subject: HTML select tags are no longer hidden with IE7 when showing navigation drop-down... X-Git-Tag: 0.5.1~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=10a49d476d93da7fcce534b5875ebaac0c0facdf;p=redmine.git HTML select tags are no longer hidden with IE7 when showing navigation drop-down menu. They are still hidden for IE6 (no z-index support for select tags). git-svn-id: http://redmine.rubyforge.org/svn/trunk@500 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/public/javascripts/menu.js b/public/javascripts/menu.js index b3d3891be..63e3fe66e 100644 --- a/public/javascripts/menu.js +++ b/public/javascripts/menu.js @@ -516,7 +516,7 @@ function getPageOffsetTop(el) { //-- debut ajout ci ---- function cicacheselect(){ - if (browser.isIE) { + if (browser.isIE && browser.version < 7) { oSelects = document.getElementsByTagName('SELECT'); if (oSelects.length > 0) { for (i = 0; i < oSelects.length; i++) { @@ -535,7 +535,7 @@ function cicacheselect(){ } function cimontreselect(){ - if (browser.isIE) { + if (browser.isIE && browser.version < 7) { oSelects = document.getElementsByTagName('SELECT'); if (oSelects.length > 0) { for (i = 0; i < oSelects.length; i++) {