]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1122565: editversions.cgi should focus the version field on page load to cut...
authorDavid Lawrence <dkl@mozilla.com>
Wed, 21 Jan 2015 16:45:11 +0000 (16:45 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Wed, 21 Jan 2015 16:45:11 +0000 (16:45 +0000)
r=LpSolit,a=glob

template/en/default/admin/versions/create.html.tmpl
template/en/default/admin/versions/edit.html.tmpl

index 648adcebd754ea38bd95a701f6a9f578f1ad72c5..cb7ae844647f68fce59597ae776070ec1c11376e 100644 (file)
@@ -25,7 +25,7 @@
     <tr>
       <th><label for="version">Version:</label></th>
       <td><input id="version" size="64" maxlength="64" name="version"
-                 value="" required></td>
+                 value="" required autofocus></td>
     </tr>
   </table>
   <input type="submit" id="create" value="Add">
index 1ef0b2f66ecf52c1ecbb04f880458610b77d900d..215a0c9c270bb52b675476c05033464faaaa4aa0 100644 (file)
@@ -26,7 +26,7 @@
       <th><label for="version">Version:</label></th>
       <td>
         <input id="version" size="64" maxlength="64" name="version"
-               value="[% version.name FILTER html %]" required>
+               value="[% version.name FILTER html %]" required autofocus>
       </td>
     </tr>
     <tr>