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/account/create.html.tmpl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'template/en/default/account/create.html.tmpl') diff --git a/template/en/default/account/create.html.tmpl b/template/en/default/account/create.html.tmpl index 21d9251b5..1b5a4daa8 100644 --- a/template/en/default/account/create.html.tmpl +++ b/template/en/default/account/create.html.tmpl @@ -13,13 +13,9 @@ # Param("emailsuffix") is used to pre-fill the email field. #%] -[% title = BLOCK %] - Create a new [% terms.Bugzilla %] account -[% END %] - [% PROCESS global/header.html.tmpl - title = title - onload = "document.forms['account_creation_form'].login.focus();" %] + title = "Create a new $terms.Bugzilla account" +%]

To create a [% terms.Bugzilla %] account, all you need to do is to enter @@ -75,7 +71,7 @@ Email address: [% END %] - [% Param('emailsuffix') FILTER html %] -- cgit v1.2.3-24-g4f1b