Bug 63855

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@728 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2010-05-07 17:01:25 +00:00
parent 0719e8ed68
commit c75c1486b7
2 changed files with 2 additions and 1 deletions

View File

@ -95,6 +95,7 @@ if ($cgi->request_method() eq 'POST') {
# Determine whether this is a quicksearch query.
my $searchstring = $cgi->param('quicksearch');
if (defined($searchstring)) {
$vars->{quicksearch} = $searchstring;
$buffer = quicksearch($searchstring);
# Quicksearch may do a redirect, in which case it does not return.
# If it does return, it has modified $cgi->params so we can use them here

View File

@ -34,7 +34,7 @@
onsubmit="if (this.quicksearch.value == '')
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input class="txt" [% IF qs_suffix == "top" %] tabindex=1 [% END %] type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch">
<input class="txt" [% IF qs_suffix == "top" %] tabindex=1 [% END %] type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch" value="[% quicksearch | html %]" />
<input class="btn" type="submit" value="Find" id="find[% qs_suffix FILTER html %]">
[%-# Work around FF bug: keep this on one line %]</form></li>