From e02e3bc792293af9460da9c9d6b9185b94c5307f Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 20 Jan 2014 23:15:06 +0100 Subject: Bug 958825: Use HTML5's attribute "autofocus" instead of onload="element.focus()" r/a=justdave --- template/en/default/admin/users/userdata.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/admin/users/userdata.html.tmpl') 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 @@ [% IF editusers %] + value="[% otheruser.login FILTER html %]" + [%- " autofocus" UNLESS editform %]> [% IF editform %] [% IF !otheruser.in_group('bz_sudo_protect') %]
-- cgit v1.2.3-24-g4f1b