Fix for bug 254370: attachment/choose.html.tmpl focus onload. r=jouni, a=myk.

git-svn-id: svn://10.0.0.236/trunk@161129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kiko%async.com.br
2004-08-23 15:34:30 +00:00
parent bf5f2c4cf1
commit 6c370cb1d7

View File

@@ -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>