diff options
author | lpsolit%gmail.com <> | 2005-08-23 19:39:17 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-23 19:39:17 +0000 |
commit | 0f7677a45eede96ad06a7df728cc253dd26d670c (patch) | |
tree | b3ad90c9e16878d76c2464db7a63d6da1399a720 /template | |
parent | c48c345eb62acb75a46db84f5d6ab53d164d01ef (diff) | |
download | bugs-0f7677a45eede96ad06a7df728cc253dd26d670c.tar bugs-0f7677a45eede96ad06a7df728cc253dd26d670c.tar.gz bugs-0f7677a45eede96ad06a7df728cc253dd26d670c.tar.bz2 bugs-0f7677a45eede96ad06a7df728cc253dd26d670c.tar.xz bugs-0f7677a45eede96ad06a7df728cc253dd26d670c.zip |
Bug 304542: Focus/Select forms with javascript when editting milestones - Patch by GavinS <bugzilla@chimpychompy.org> r=wurblzap a=justdave
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/admin/milestones/create.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/admin/milestones/edit.html.tmpl | 3 |
2 files changed, 4 insertions, 2 deletions
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()" %] -<form method="post" action="editmilestones.cgi"> +<form name="f" method="post" action="editmilestones.cgi"> <table border="0" cellpadding="4" cellspacing="0"> <tr> <th align="right"><label for="milestone">Milestone:</label></th> 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()" %] -<form method="post" action="editmilestones.cgi"> +<form name="f" method="post" action="editmilestones.cgi"> <table border="0" cellpadding="4" cellspacing="0"> <tr> |