summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/search-specific.html.tmpl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-04-17 15:06:51 +0200
committerjustdave%syndicomm.com <>2004-04-17 15:06:51 +0200
commit56805d60328f886b0143424bd25c86964639775a (patch)
treeefb11a367304247b6c4697d054983d80d0c49eaf /template/en/default/search/search-specific.html.tmpl
parentec1cd335aba95bd8770f073950546c3cd13d616c (diff)
downloadbugzilla-56805d60328f886b0143424bd25c86964639775a.tar.gz
bugzilla-56805d60328f886b0143424bd25c86964639775a.tar.xz
Bug 155502: focus the summary field when loading the search/query pages
Patch by kiko, r=gerv, a=justdave
Diffstat (limited to 'template/en/default/search/search-specific.html.tmpl')
-rw-r--r--template/en/default/search/search-specific.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index f4596e602..345483320 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -48,7 +48,7 @@ For example, if the [% terms.bug %] you are looking for is a browser crash when
for "crash secure SSL flash".
</p>
-<form method="get" action="buglist.cgi">
+<form name="queryform" method="get" action="buglist.cgi">
<input type="hidden" name="query_format" value="specific">
<input type="hidden" name="order" value="relevance desc">
@@ -90,6 +90,10 @@ for "crash secure SSL flash".
<td>
<input name="content" size="40"
value="[% default.content.0 FILTER html %]">
+ <script language="JavaScript" type="text/javascript"> <!--
+ document.forms['queryform'].content.focus();
+ // -->
+ </script>
</td>
</tr>
<tr>