summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-02-27 21:58:31 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-02-27 21:58:31 +0100
commitdcfcf6a3c1334848747a9d17272a042c27f1080d (patch)
treebb2c0c383af70456d840dbd68ff42a09fa22f6c4 /extensions/ProdCompSearch
parente08ea305a77f3b3849f446a4d1e62d00ae0c0769 (diff)
downloadbugzilla-dcfcf6a3c1334848747a9d17272a042c27f1080d.tar.gz
bugzilla-dcfcf6a3c1334848747a9d17272a042c27f1080d.tar.xz
Bug 837892 - User dashboard "file a bug" window does not do anything
Diffstat (limited to 'extensions/ProdCompSearch')
-rw-r--r--extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl4
-rw-r--r--extensions/ProdCompSearch/web/js/prod_comp_search.js4
-rw-r--r--extensions/ProdCompSearch/web/styles/prod_comp_search.css4
3 files changed, 8 insertions, 4 deletions
diff --git a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
index fc8d3f1fb..9d75f66f1 100644
--- a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
+++ b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
@@ -11,8 +11,8 @@
[% input_label FILTER none %]&nbsp;
<img id="prod_comp_throbber" src="extensions/ProdCompSearch/web/images/throbber.gif"
class="bz_default_hidden" width="16" height="11">
- <span id="prod_comp_no_data" class="bz_default_hidden" style="color:red;">
- No data found</span>
+ <span id="prod_comp_no_components" class="bz_default_hidden">
+ No components found</span>
</div>
<input id="prod_comp_search" type="text" size="50"
placeholder="Search by product and component keywords">
diff --git a/extensions/ProdCompSearch/web/js/prod_comp_search.js b/extensions/ProdCompSearch/web/js/prod_comp_search.js
index 99390bbc1..3da98380e 100644
--- a/extensions/ProdCompSearch/web/js/prod_comp_search.js
+++ b/extensions/ProdCompSearch/web/js/prod_comp_search.js
@@ -73,13 +73,13 @@ YUI({
on: {
query: function(e) {
Y.one("#prod_comp_throbber").removeClass('bz_default_hidden');
- Y.one("#prod_comp_no_data").addClass('bz_default_hidden');
+ Y.one("#prod_comp_no_components").addClass('bz_default_hidden');
},
results: function(e) {
Y.one("#prod_comp_throbber").addClass('bz_default_hidden');
input.ac.set('activateFirstItem', e.results.length == 1);
if (e.results.length == 0) {
- Y.one("#prod_comp_no_data").removeClass('bz_default_hidden');
+ Y.one("#prod_comp_no_components").removeClass('bz_default_hidden');
}
},
select: function(e) {
diff --git a/extensions/ProdCompSearch/web/styles/prod_comp_search.css b/extensions/ProdCompSearch/web/styles/prod_comp_search.css
index 59927302c..71829023c 100644
--- a/extensions/ProdCompSearch/web/styles/prod_comp_search.css
+++ b/extensions/ProdCompSearch/web/styles/prod_comp_search.css
@@ -14,3 +14,7 @@
#prod_comp_search_form .yui3-aclist-input {
width: 360px;
}
+
+#prod_comp_no_components {
+ color: red;
+}