Code

Udpated JS focus,
[gosa.git] / plugins / admin / systems / terminalStartup.tpl
index e45fa874a85cc0039f1b09636471ee324a29492d..98d5805946be1a19ed32b6815632071f28f952ec 100644 (file)
@@ -7,7 +7,7 @@
     <tr>
      <td style="width:30%"><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
      <td>
-       <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL} onchange='document.mainform.submit()'>
+       <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL}>
        {html_options options=$gotoBootKernels  selected=$gotoBootKernel}
        <option disabled>&nbsp;</option>
        </select>
@@ -52,7 +52,7 @@
    <h2>
     <img class="center" alt="" align="middle" src="images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
    </h2>
-    <select style="width:100%;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
+    <select style="width:100%;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}" {$gotoModulesACL}>
      {html_options values=$gotoModules output=$gotoModules}
         <option disabled>&nbsp;</option>
     </select>
@@ -89,6 +89,6 @@
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.gotoLdapServer.focus();
+       focus_field('gotoLdapServer');
   -->
 </script>