From 45037b88d126d22d0fe9af9b4bd2205b81edce82 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Nov 2007 06:42:32 +0000 Subject: [PATCH] Don't not try to resize lists that can't be resized. -> FAI package list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7832 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/include/focus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/include/focus.js b/html/include/focus.js index a16220c57..471bdd02a 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -381,7 +381,7 @@ function adjust_width(e) // Resize the Header cells (only the relative-width ones) document.getElementById('t_scrollhead').style.width=div_width+"px"; } - } else if(document.defaultView && document.getElementById("t_scrolltable_onlywidth")) { + } else if(document.defaultView && document.getElementById("t_scrolltable_onlywidth") && document.getElementById('d_scrolltable_onlywidth')) { // Resize the div var div_width=parseInt(document.defaultView.getComputedStyle(document.getElementById("t_scrolltable_onlywidth"),"").getPropertyValue('width')); var width= parseInt(window.innerWidth); -- 2.39.5