summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users/userdata.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-20 23:15:06 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-20 23:15:06 +0100
commite02e3bc792293af9460da9c9d6b9185b94c5307f (patch)
treefccf99d2e3fdcfa07f501be4f6a5e1de2ff22161 /template/en/default/admin/users/userdata.html.tmpl
parenta59fdab6cb0c0249a606d60b5d565aecdbaf79cb (diff)
downloadbugzilla-e02e3bc792293af9460da9c9d6b9185b94c5307f.tar.gz
bugzilla-e02e3bc792293af9460da9c9d6b9185b94c5307f.tar.xz
Bug 958825: Use HTML5's attribute "autofocus" instead of onload="element.focus()"
r/a=justdave
Diffstat (limited to 'template/en/default/admin/users/userdata.html.tmpl')
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index 78c5f0f28..8cdc767e4 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -22,7 +22,8 @@
<td>
[% IF editusers %]
<input size="64" maxlength="255" id="login" name="login"
- value="[% otheruser.login FILTER html %]">
+ value="[% otheruser.login FILTER html %]"
+ [%- " autofocus" UNLESS editform %]>
[% IF editform %]
[% IF !otheruser.in_group('bz_sudo_protect') %]
<br>