From dcfcf6a3c1334848747a9d17272a042c27f1080d Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 27 Feb 2013 15:58:31 -0500 Subject: Bug 837892 - User dashboard "file a bug" window does not do anything --- .../ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl | 4 ++-- extensions/ProdCompSearch/web/js/prod_comp_search.js | 4 ++-- extensions/ProdCompSearch/web/styles/prod_comp_search.css | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'extensions/ProdCompSearch') 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 %]  - - No data found + + No components found 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; +} -- cgit v1.2.3-24-g4f1b