summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/search-specific.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-06-27 01:35:56 +0200
committerlpsolit%gmail.com <>2007-06-27 01:35:56 +0200
commitf32106f83ffc2dda1420123744881f0e740aa715 (patch)
treefad10fadb4cb4bea8fe05432bd092cdc5828a58d /template/en/default/search/search-specific.html.tmpl
parent8699690c76360c62e748f5557831243322655bfd (diff)
downloadbugzilla-f32106f83ffc2dda1420123744881f0e740aa715.tar.gz
bugzilla-f32106f83ffc2dda1420123744881f0e740aa715.tar.xz
Bug 385910: Add parameter to allow "find a specific bug" to accept an empty search - Patch by Brad Johnson <fk7q01p02@sneakemail.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/search/search-specific.html.tmpl')
-rw-r--r--template/en/default/search/search-specific.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index d93abd883..af633ddf7 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -109,12 +109,17 @@ for "crash secure SSL flash".
<tr>
<td></td>
<td>
- <input type="submit" id="search" value="Search"
+
+ [% IF Param('quicksearch_allow_empty_words') %]
+ <input type="submit" id="search" value="Search">
+ [% ELSE %]
+ <input type="submit" id="search" value="Search"
onclick="if (this.form.content.value == '')
{alert('The Words field cannot be empty. You have to ' +
'enter at least one word in your search criteria.');
return false;} return true;">
- </td>
+ [% END %]
+ </td>
</tr>
</table>
</form>