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/pages/quicksearch.html.tmpl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'template/en/default/pages/quicksearch.html.tmpl') diff --git a/template/en/default/pages/quicksearch.html.tmpl b/template/en/default/pages/quicksearch.html.tmpl index 6f9074732..78634b041 100644 --- a/template/en/default/pages/quicksearch.html.tmpl +++ b/template/en/default/pages/quicksearch.html.tmpl @@ -8,8 +8,7 @@ [% INCLUDE global/header.html.tmpl title = "$terms.Bugzilla QuickSearch", - style_urls = ['skins/standard/page.css'] - onload = 'document.forms[\'f\'].quicksearch.focus()' + style_urls = ['skins/standard/page.css'] %] [% USE Bugzilla %] @@ -17,11 +16,8 @@

-
- + +
-- cgit v1.2.3-24-g4f1b