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/milestones/create.html.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'template/en/default/admin/milestones/create.html.tmpl') diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl index 78ef49a8a..d15e43d55 100644 --- a/template/en/default/admin/milestones/create.html.tmpl +++ b/template/en/default/admin/milestones/create.html.tmpl @@ -18,7 +18,6 @@ title = title subheader = subheader style_urls = ['skins/standard/admin.css'] - onload = "document.forms['f'].milestone.focus()" %]
@@ -26,12 +25,11 @@ + autofocus> - + -- cgit v1.2.3-24-g4f1b