From 4ac63bb2181e9e07851bf73520cd068818947b6a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 6 Mar 2013 16:40:29 +0800 Subject: Bug 848217: The product component search field is not putting bugzilla.mozilla.org components before upstream Bugzilla components --- extensions/ProdCompSearch/web/js/prod_comp_search.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/ProdCompSearch/web/js') diff --git a/extensions/ProdCompSearch/web/js/prod_comp_search.js b/extensions/ProdCompSearch/web/js/prod_comp_search.js index 1aa65d5e6..f58a8d330 100644 --- a/extensions/ProdCompSearch/web/js/prod_comp_search.js +++ b/extensions/ProdCompSearch/web/js/prod_comp_search.js @@ -24,7 +24,7 @@ YUI({ autoComplete = null; var resultListFormat = function(query, results) { - return Y.Array.map(results, function (result) { + return Y.Array.map(results, function(result) { var data = result.raw; result.text = data.product + ' :: ' + data.component; return Y.Escape.html(result.text); @@ -35,7 +35,7 @@ YUI({ counter = counter + 1; var json_object = { version: "1.1", - method : "MyDashboard.prod_comp_search", + method : "PCS.prod_comp_search", id : counter, params : { search: query } }; @@ -99,7 +99,7 @@ YUI({ } window.location.href = url; } - }, + } }); input.on('focus', function (e) { -- cgit v1.2.3-24-g4f1b