Code

Removed GOsa toggle call
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 14:10:24 +0000 (14:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 14:10:24 +0000 (14:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15552 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/network.tpl

index 01766a882f2c3c32370c3bd099650386af898b8f..5a3e302db0df68ed459df74a436a5d947946c1f9 100644 (file)
@@ -27,9 +27,9 @@
 
 {render acl=$ipHostNumberACL}
 {if $DNS_is_account == true}
-      <input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="visibility:visible;">
+      <input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="display: none;">
       {else}
-      <input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="visibility:hidden;">
+      <input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="display: none;">
       {/if}
 {/render}
           </td>
 
 
         checked="checked"
-        onclick="GOsa_toggle('test2');
+        onclick="
+          $('test2').toggle();
           changeState('zoneName');
           changeState('dNSTTL');
-          GOsa_toggle('propose_ip');
+          $('propose_ip').toggle();
           changeState('AddNewRecord');
           {$changeStateForRecords}"/>
         {else}
       <input type="checkbox" name="DNS_is_account" value="1"  
-        onclick="GOsa_toggle('test2');
+        onclick="$('test2').toggle();
           changeState('zoneName');
           changeState('dNSTTL');
-          GOsa_toggle('propose_ip');
+          $('propose_ip').toggle();
           changeState('AddNewRecord');"/>
         {/if}
 {/render}
       {t}Enable DNS for this device{/t}
       <input type='image' src='images/lists/reload.png' class='center' name="reloadThisDNSStuff" >
       {if $DNS_is_account == true}
-      <div style="padding-left:20px;visibility:visible;" id="test2">
+      <div style="padding-left:20px;display: none;" id="test2">
       {else}
-      <div style="padding-left:20px;visibility:hidden;" id="test2">
+      <div style="padding-left:20px;display: none;" id="test2">
       {/if}
                        <table summary="">
                                <tr>