summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch/template/en/default
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-09-24 22:06:32 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-09-24 22:06:32 +0200
commit9f07124912d27f366ec50f94378026529ce18cde (patch)
treef84c42c760718767b654fbf51640eb1f4d143588 /extensions/ProdCompSearch/template/en/default
parent550d53cc7bc2ed66fd40ab6a276d9f65c6ac7278 (diff)
downloadbugzilla-9f07124912d27f366ec50f94378026529ce18cde.tar.gz
bugzilla-9f07124912d27f366ec50f94378026529ce18cde.tar.xz
Bug 1059318: The drop-down box for components doesn't scroll
Diffstat (limited to 'extensions/ProdCompSearch/template/en/default')
-rw-r--r--extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
index b3d1deab1..38f87dc1a 100644
--- a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
+++ b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
@@ -6,6 +6,7 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
+[% DEFAULT max_results = 100 %]
<script type="text/javascript">
[% IF script_name %]
ProdCompSearch.script_name = '[% script_name FILTER js %]';
@@ -19,6 +20,7 @@
[% IF new_tab %]
ProdCompSearch.new_tab = true;
[% END %]
+ ProdCompSearch.max_results = [% max_results FILTER js %];
</script>
<div id="prod_comp_search_form" class="yui3-skin-sam">
@@ -28,6 +30,8 @@
class="bz_default_hidden" width="16" height="11">
<span id="prod_comp_no_components" class="bz_default_hidden">
No components found</span>
+ <span id="prod_comp_too_many_components" class="bz_default_hidden">
+ Result limited to [% max_results FILTER html %] components
<span id="prod_comp_error" class="bz_default_hidden">
An error occured</span>
</div>