Code

Don't not try to resize lists that can't be resized.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Nov 2007 06:42:32 +0000 (06:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Nov 2007 06:42:32 +0000 (06:42 +0000)
-> FAI package list

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7832 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js

index a16220c577af26051a75af9a6b3ed0f431111648..471bdd02aaeb1ba7dad71877cd6a0ea095760c83 100644 (file)
@@ -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);