Commit 96ec4a17 authored by kiko%async.com.br's avatar kiko%async.com.br

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

parent 2da40266
...@@ -22,10 +22,11 @@ ...@@ -22,10 +22,11 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.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>Access an attachment by entering its ID into the form below:</p>
<p>Attachment ID: <input name="id" size="6"> <p>Attachment ID: <input name="id" size="6">
<button name="action" value="edit">&nbsp;Edit&nbsp;</button> <button name="action" value="edit">&nbsp;Edit&nbsp;</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment