Commit b48830e1 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 391726: Missing ID for the quicksearch fields - Patch by Fré©ric Buclin…

Bug 391726: Missing ID for the quicksearch fields - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
parent 1226f7f2
......@@ -20,7 +20,7 @@
# Svetlana Harisova <light@rathedg.com>
#%]
[% DEFAULT btn_id = "find" %]
[% DEFAULT qs_suffix = "" %]
<ul class="links">
<li><a href="./">Home</a></li>
......@@ -33,8 +33,8 @@
onsubmit="if (this.quicksearch.value == '')
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input class="txt" type="text" name="quicksearch">
<input class="btn" type="submit" value="Find" id="[% btn_id FILTER html %]">
<input class="txt" type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch">
<input class="btn" type="submit" value="Find" id="find[% qs_suffix FILTER html %]">
[%-# Work around FF bug: keep this on one line %]</form></li>
<li><span class="separator">| </span><a href="report.cgi">Reports</a></li>
......
......@@ -253,7 +253,7 @@
</tr>
</table>
[% PROCESS "global/common-links.html.tmpl" btn_id = "find_top" %]
[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
</div>
......
......@@ -29,7 +29,7 @@
<ul id="useful-links">
<li id="links-actions">
<div class="label">Actions: </div>
[% PROCESS "global/common-links.html.tmpl" btn_id = "find_bottom" %]
[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_bottom" %]
</li>
[%# Saved searches %]
......
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