From 0f7677a45eede96ad06a7df728cc253dd26d670c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 23 Aug 2005 19:39:17 +0000 Subject: Bug 304542: Focus/Select forms with javascript when editting milestones - Patch by GavinS r=wurblzap a=justdave --- template/en/default/admin/milestones/create.html.tmpl | 3 ++- template/en/default/admin/milestones/edit.html.tmpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'template/en/default/admin/milestones') diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl index ac707c195..d8779dd54 100644 --- a/template/en/default/admin/milestones/create.html.tmpl +++ b/template/en/default/admin/milestones/create.html.tmpl @@ -29,9 +29,10 @@ [% PROCESS global/header.html.tmpl title = title h2 = h2 + onload = "document.forms['f'].milestone.focus()" %] -
+ diff --git a/template/en/default/admin/milestones/edit.html.tmpl b/template/en/default/admin/milestones/edit.html.tmpl index 417a69276..f49cacf4a 100644 --- a/template/en/default/admin/milestones/edit.html.tmpl +++ b/template/en/default/admin/milestones/edit.html.tmpl @@ -33,9 +33,10 @@ [%- product FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title + onload = "document.forms['f'].milestone.select()" %] - +
-- cgit v1.2.3-24-g4f1b