From: cajus Date: Mon, 1 Mar 2010 10:20:19 +0000 (+0000) Subject: Updated gosa.js to work around another IE problem X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=49c2d8d82c8839850a71006eacd15d0c7bfe6086;p=gosa.git Updated gosa.js to work around another IE problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15790 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/include/gosa.js b/gosa-core/html/include/gosa.js index b614b56a2..fd7780f41 100644 --- a/gosa-core/html/include/gosa.js +++ b/gosa-core/html/include/gosa.js @@ -349,7 +349,7 @@ function focus_field() var tmp = document.getElementsByName(focus_field.arguments[i]); for(e = 0 ; e < tmp.length ; e ++ ){ - if(tmp[e].disabled != true && tmp[e].type != "none" && tmp[e].type != "hidden" ){ + if(tmp[e].disabled != true && tmp[e].type != "none" && tmp[e].type != "hidden" && tmp[e].style.display != ""){ found = true; element = tmp[e]; break;