Code

Bad stuff in here...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Aug 2009 15:09:49 +0000 (15:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Aug 2009 15:09:49 +0000 (15:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14039 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/include/focus.js

index 69f0a1ee83c908e13585e368ef4c38d2da007859..e78e68fc38ee14e13cd947c0be11835b48dcea1f 100644 (file)
@@ -391,6 +391,9 @@ function adjust_width(e)
 
                // Resize the body cells, 470 represents the info box and the navigation part 
                var diff= width -       div_width       -       470;
+                if(document.getElementById('d_save')) {
+                  diff= width - div_width - document.getElementById('d_save').value;
+                }
                
                // window has been upscaled
                if(div_width+diff>=600) {