Skip to content

Commit

Permalink
Bug 1122565: editversions.cgi should focus the version field on page …
Browse files Browse the repository at this point in the history
…load to cut down on need for mouse

r=LpSolit,a=glob
  • Loading branch information
dklawren committed Jan 21, 2015
1 parent 495b9da commit 8820144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/en/default/admin/versions/create.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion template/en/default/admin/versions/edit.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8820144

Please sign in to comment.