Code

Added focus for copy and paste
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 07:12:10 +0000 (07:12 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 07:12:10 +0000 (07:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5701 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/paste_generic.tpl
plugins/admin/ogroups/paste_generic.tpl
plugins/admin/ogroups/paste_mail.tpl

index f08d2431520a3986bb8e3af24587261d729af261..a80648ae0931d718a0a6e5800e2b9176a7ddcd57 100644 (file)
@@ -19,3 +19,7 @@
                </td>
        </tr>
 </table>
+
+<script language="JavaScript" type="text/javascript">
+  document.mainform.cn.focus();
+</script>
index 8daafc6a2f1173cf95fc0fac6abbf800465bcb24..637b759eabbf70119ad1302110abf2ac117fb6d9 100644 (file)
@@ -8,3 +8,7 @@
                </td>
        </tr>
 </table>
+
+<script language="JavaScript" type="text/javascript">
+  document.mainform.cn.focus();
+</script>
index 1930c44c8612497c45f8186058d62851af825896..d9d569b7f0d1d27b26a58aa163d569b281a29906 100644 (file)
@@ -1,10 +1,14 @@
 <table width='100%'>
         <tr>
                 <td width='120'>
-                       <LABEL for="cn">{t}Mail{/t}</LABEL>{$must}
+                       <LABEL for="mail">{t}Mail{/t}</LABEL>{$must}
                </td>
                <td>
                        <input type='text' id='main' name='mail' value='{$mail}' size='40' title='{t}Please enter a mail address{/t}'> 
                </td>
        </tr>
 </table>
+
+<script language="JavaScript" type="text/javascript">
+  document.mainform.mail.focus();
+</script>