Code

Udpated JS focus,
[gosa.git] / plugins / admin / fai / faiHookEntry.tpl
index 2c3279bb60e39cd843c994d03f61345edd376bc5..76537fdb77aebd343a7646c4050813baa07726e6 100644 (file)
@@ -34,7 +34,7 @@
                                                        {t}Task{/t} 
                                                        </LABEL>
                                                        <select name="FAItask" title="{t}Choose an existing FAI task{/t}" {$FAItaskACL}>
-                                                               {html_options options=$tasks selected=$FAItask}
+                                                               {html_options values=$tasks output=$tasks selected=$FAItask}
                                                        </select>
                                                </td>
                                        </tr>
@@ -73,7 +73,7 @@
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.cn.focus();
+       focus_field('cn','description');
   -->
 </script>