зеркало из https://github.com/mozilla/pjs.git
Bug 391726: Missing ID for the quicksearch fields - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
This commit is contained in:
Родитель
eb6219696b
Коммит
ee52b14ea4
|
@ -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 %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче