Code

Need another way of forcing height, cause this won't work with php4.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Jun 2006 07:01:04 +0000 (07:01 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Jun 2006 07:01:04 +0000 (07:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3624 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js
ihtml/themes/default/framework.tpl

index c1c6c6870e62eedf8e8e72c36ad0665be456cea8..00ae1bb9a5dd47ba072c9514516a647cf67720f1 100644 (file)
@@ -197,6 +197,8 @@ function js_check(form) {
 
 window.onload = adjust_width;
 window.onresize = adjust_width;
+window.onload = adjust_height;
+window.onresize = adjust_height;
 
 // Automatic resize (height) of divlists
 function adjust_height(e) {
index 1c9bb7af6aee78142febf44d1ca3f38e02e71a60..f51784b56461c7754e611e427150c6147013d228 100644 (file)
@@ -1,12 +1,4 @@
 <!-- Headline -->
-<!--
-{if !$force_height}
-<script language="javascript">
-  window.onload = adjust_height;
-  window.onresize = adjust_height;
-</script>
-{/if}
--->
 <body>
 {$php_errors}
 <form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>