summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch/web/js
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-06 09:40:29 +0100
committerByron Jones <bjones@mozilla.com>2013-03-06 09:40:29 +0100
commit4ac63bb2181e9e07851bf73520cd068818947b6a (patch)
tree8d6098dbfec3248686519c7f5577eb8c47115e3c /extensions/ProdCompSearch/web/js
parent6b5c91b2f020e9a1ab0e9efd5d4d339fa8f7b22d (diff)
downloadbugzilla-4ac63bb2181e9e07851bf73520cd068818947b6a.tar.gz
bugzilla-4ac63bb2181e9e07851bf73520cd068818947b6a.tar.xz
Bug 848217: The product component search field is not putting bugzilla.mozilla.org components before upstream Bugzilla components
Diffstat (limited to 'extensions/ProdCompSearch/web/js')
-rw-r--r--extensions/ProdCompSearch/web/js/prod_comp_search.js6
1 files changed, 3 insertions, 3 deletions
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) {