summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/versions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-01-21 17:45:11 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-01-21 17:45:11 +0100
commit88201447b7d3304b3c2247b662a666b6eda7909c (patch)
tree6948794ebc883a73247d4377402379fc31512be1 /template/en/default/admin/versions
parent495b9da4ff3f3dc0293bd72f45645e6569159234 (diff)
downloadbugzilla-88201447b7d3304b3c2247b662a666b6eda7909c.tar.gz
bugzilla-88201447b7d3304b3c2247b662a666b6eda7909c.tar.xz
Bug 1122565: editversions.cgi should focus the version field on page load to cut down on need for mouse
r=LpSolit,a=glob
Diffstat (limited to 'template/en/default/admin/versions')
-rw-r--r--template/en/default/admin/versions/create.html.tmpl2
-rw-r--r--template/en/default/admin/versions/edit.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index 648adcebd..cb7ae8446 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -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">
diff --git a/template/en/default/admin/versions/edit.html.tmpl b/template/en/default/admin/versions/edit.html.tmpl
index 1ef0b2f66..215a0c9c2 100644
--- a/template/en/default/admin/versions/edit.html.tmpl
+++ b/template/en/default/admin/versions/edit.html.tmpl
@@ -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>