summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch
diff options
context:
space:
mode:
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 %] 
<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;
+}