]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 254370: attachment/choose.html.tmpl focus onload. r=jouni, a=myk.
authorkiko%async.com.br <>
Mon, 23 Aug 2004 22:34:30 +0000 (22:34 +0000)
committerkiko%async.com.br <>
Mon, 23 Aug 2004 22:34:30 +0000 (22:34 +0000)
template/en/default/attachment/choose.html.tmpl

index 628dafb96926ccaa19de60598f74041253c8f658..2f7b86f19ea63762b87dc39a73dd547005194b04 100644 (file)
 [% 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>