Code

Added focus
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Feb 2006 08:41:09 +0000 (08:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Feb 2006 08:41:09 +0000 (08:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2631 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/faiNewBranch.tpl

index 2c65a7cd8840bcf6447b86f52e5dd81682d589fc..7d90245752ee4fdc8954ef88aff397a92f428bb3 100755 (executable)
@@ -7,7 +7,7 @@
 <p class="seperator">
 <br>
 <b>{t}Please enter a name for the branch{/t}</b> &nbsp;
-<input type="text"      name="BranchName" value="{$BranchName}" style="width:120px;">
+<input type="text" id="BranchName" name="BranchName" value="{$BranchName}" style="width:120px;">
 <br>
 <br>
 </p>
@@ -29,8 +29,8 @@
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
        <!--
-       document.mainform.UseTextInputName.select();
-       document.mainform.UseTextInputName.focus();
+       document.mainform.BranchName.select();
+       document.mainform.BranchName.focus();
        -->
 </script>