summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/auth
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/account/auth
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/account/auth')
-rw-r--r--template/en/default/account/auth/login.html.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl
index 2d6a71f2d..27c0690af 100644
--- a/template/en/default/account/auth/login.html.tmpl
+++ b/template/en/default/account/auth/login.html.tmpl
@@ -15,8 +15,7 @@
[% END %]
[% PROCESS global/header.html.tmpl
- title = "Log in to $terms.Bugzilla",
- onload = "document.forms['login'].Bugzilla_login.focus()"
+ title = "Log in to $terms.Bugzilla"
%]
[% USE Bugzilla %]
@@ -40,7 +39,7 @@
</th>
<td>
<input size="35" id="Bugzilla_login" name="Bugzilla_login"
- [%- ' type="email"' UNLESS Param('emailsuffix') %]>
+ [%- ' type="email"' UNLESS Param('emailsuffix') %] autofocus>
[% Param('emailsuffix') FILTER html %]
</td>
</tr>