Code

Used JS instead of page relaod
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Apr 2006 12:15:10 +0000 (12:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Apr 2006 12:15:10 +0000 (12:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3149 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/terminal.tpl

index e1f29a5c0af0a2fa9c1d3bc069e53b5a8440d583..04e2a281172473424e4b2740d11b9b58ae12026f 100644 (file)
         <td colspan="2">
                <input type="checkbox" value="1" name="inheritTimeServer"
                        {if $inheritTimeServer } checked {/if} 
-                       onClick="javascript: document.mainform.submit();">{t}Inherit time server attributes{/t}
+                       onClick="javascript:
+                                       changeState('gotoNtpServerSelected');
+                                       changeState('gotoNtpServers');
+                                       changeState('addNtpServer');
+                                       changeState('delNtpServer');">{t}Inherit time server attributes{/t}
         </td>
        </tr>
        <tr>