Code

Remove additional call to old layermenu stuff
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 10:16:37 +0000 (10:16 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 10:16:37 +0000 (10:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15047 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/include/events.js
gosa-core/html/include/focus.js

index 0aa812062b8ae9740ac35e1db114cc7b4fa75751..9c7910d9aecdf18dac42df5c264a69bb5e9a2efd 100644 (file)
@@ -10,7 +10,6 @@ function OnKeyPress()
 function OnLoad()
 {
        adjust();
-       loadHandler();
 }
 
 function OnResize()
index 8ffe8f20e954b96e5ea1e2feafa035ecde0ad2ac..ba5f23ab9f7dfea8a569b3d422e17939b34e5eb1 100644 (file)
@@ -370,9 +370,11 @@ function adjust_height(e) {
                if (!document.getElementById("list_workaround")) {
                  document.getElementById("d_scrollbody").style.height=suggested+"px";
                 } else {
-                  current_height= parseInt(document.defaultView.getComputedStyle(document.getElementById("t_nscrollbody"),"").getPropertyValue('height'));
-                  if (current_height < menu_height) {
-                   document.getElementById("d_scrollbody").style.height=suggested+20+"px";
+                 if (browserType != "ie") {
+                    current_height= parseInt(document.defaultView.getComputedStyle(document.getElementById("t_nscrollbody"),"").getPropertyValue('height'));
+                    if (current_height < menu_height) {
+                     document.getElementById("d_scrollbody").style.height=suggested+20+"px";
+                    }
                   }
                 }
                if (document.getElementById("t_nscrollbody")) {