From: cajus Date: Tue, 5 Jan 2010 10:16:37 +0000 (+0000) Subject: Remove additional call to old layermenu stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=839d04abe79dcb01ee9203b9c333b51723cb1e91;p=gosa.git Remove additional call to old layermenu stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15047 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/include/events.js b/gosa-core/html/include/events.js index 0aa812062..9c7910d9a 100644 --- a/gosa-core/html/include/events.js +++ b/gosa-core/html/include/events.js @@ -10,7 +10,6 @@ function OnKeyPress() function OnLoad() { adjust(); - loadHandler(); } function OnResize() diff --git a/gosa-core/html/include/focus.js b/gosa-core/html/include/focus.js index 8ffe8f20e..ba5f23ab9 100644 --- a/gosa-core/html/include/focus.js +++ b/gosa-core/html/include/focus.js @@ -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")) {