Code

Updated gosa.js to work around another IE problem
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 10:20:19 +0000 (10:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 10:20:19 +0000 (10:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15790 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/include/gosa.js

index b614b56a22c1e309bec42890a6bbf1ebb5bacd49..fd7780f41879092089158f343f8fafd8d6720b89 100644 (file)
@@ -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;