Code

Fixed some chagneState / setHidden errors
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Feb 2006 09:48:50 +0000 (09:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Feb 2006 09:48:50 +0000 (09:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2762 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js
plugins/admin/systems/network.tpl

index 1f226af15fea43bc6d11b5712881c486a1c895dc..0e39237130db623a201504f85b7af6600061bc73 100644 (file)
@@ -88,7 +88,9 @@ function keyPress(DnEvents) {
 }
 
 function changeState(myField) {
-  document.getElementById(myField).disabled=(document.getElementById(myField).disabled)?false:true;
+       if(document.getElementById(myField) != null){
+         document.getElementById(myField).disabled=(document.getElementById(myField).disabled)?false:true;
+       }
 }
 
 function setHidden(str) {
index 7c67cbaa6bdacd02a0f59f87a8a7c244bec8b16d..dd7f669313321896ab8f2e6a6cb371841104f4f3 100644 (file)
@@ -15,7 +15,7 @@
       </table> 
     </td>
     {if $DNS_is_account==true}
-               <td     style="width:50%">
+               <td     style="width:50%;vertical-align:top;" valign="top">
       <input type="checkbox" name="enableDNS" value="1" 
         {if $DNSAccount==true}checked{/if}
         onClick="