summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-08-24 00:34:30 +0200
committerkiko%async.com.br <>2004-08-24 00:34:30 +0200
commit96ec4a1733464af174dc0bf4e5c91be5d89424d4 (patch)
treeef9bbbe5bf0dcf46df672ae0a37fd449f6ab1356 /template
parent2da40266afd21bcc097cc6e77557fd8012543e46 (diff)
downloadbugzilla-96ec4a1733464af174dc0bf4e5c91be5d89424d4.tar.gz
bugzilla-96ec4a1733464af174dc0bf4e5c91be5d89424d4.tar.xz
Fix for bug 254370: attachment/choose.html.tmpl focus onload. r=jouni, a=myk.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/choose.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl
index 628dafb96..2f7b86f19 100644
--- a/template/en/default/attachment/choose.html.tmpl
+++ b/template/en/default/attachment/choose.html.tmpl
@@ -22,10 +22,11 @@
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl
- title = "Locate attachment"
+ title = "Locate attachment",
+ onload = "document.forms['choose-id'].id.focus()"
%]
-<form method="get" action="attachment.cgi">
+<form name="choose-id" method="get" action="attachment.cgi">
<p>Access an attachment by entering its ID into the form below:</p>
<p>Attachment ID: <input name="id" size="6">
<button name="action" value="edit">&nbsp;Edit&nbsp;</button>