mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 190892: Radio button for "run this query" looks silly if it's the only choice. Make it a hidden input if it's the only one.
r= Gerv, a= justdave
This commit is contained in:
parent
07283b7c36
commit
5ec0699818
@ -66,21 +66,30 @@
|
||||
</script>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="cmdtype-doit"
|
||||
name="cmdtype" value="doit" checked="checked">
|
||||
<label for="cmdtype-doit">Run this search</label>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
[% IF namedqueries.size > 0 %]
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="cmdtype-doit"
|
||||
name="cmdtype" value="doit" checked="checked">
|
||||
<label for="cmdtype-doit">Run this search</label>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
[% END %]
|
||||
<tr>
|
||||
<td valign="top">
|
||||
|
||||
[% IF namedqueries.size > 0 %]
|
||||
|
||||
[% END %]
|
||||
<input type="checkbox" id="remember" name="remember" value="1"
|
||||
onclick="remCheckboxChanged()">
|
||||
<label for="remember">and remember it</label>
|
||||
[% IF namedqueries.size > 0 %]
|
||||
<label for="remember">and remember it</label>
|
||||
[% ELSE %]
|
||||
<label for="remember">Remember this search</label>
|
||||
<input type="hidden" id="cmdtype-doit"
|
||||
name="cmdtype" value="doit">
|
||||
[% END %]
|
||||
</td>
|
||||
<td>
|
||||
<input type="radio" id="remtype-asnamed"
|
||||
|
Loading…
Reference in New Issue
Block a user