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/attachment/choose.html.tmpl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'template/en/default/attachment/choose.html.tmpl') diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl index 9a82d7c86..f20facd90 100644 --- a/template/en/default/attachment/choose.html.tmpl +++ b/template/en/default/attachment/choose.html.tmpl @@ -7,13 +7,12 @@ #%] [% PROCESS global/header.html.tmpl - title = "Locate or Create Attachment", - onload = "document.forms['choose-id'].id.focus()" - %] + title = "Locate or Create Attachment" +%]

Access an attachment by entering its ID into the form below:

-

Attachment ID: +

Attachment ID:

@@ -21,14 +20,14 @@

Or, Access it from the list of attachments in its associated [% terms.bug %] report:

-

[% terms.Bug %] ID: +

[% terms.Bug %] ID:

Or, Create a new attachment by entering its [% terms.bug %] Id below:

-

[% terms.Bug %] ID: +

[% terms.Bug %] ID:

-- cgit v1.2.3-24-g4f1b