summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/libtoaster.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
index 079bbcb0b8..115df80a96 100644
--- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
+++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
@@ -19,6 +19,7 @@ var libtoaster = (function (){
19 jQElement.typeahead({ 19 jQElement.typeahead({
20 source: function(query, process){ 20 source: function(query, process){
21 xhrParams.search = query; 21 xhrParams.search = query;
22 xhrParams.format = "json";
22 $.getJSON(xhrUrl, this.options.xhrParams, function(data){ 23 $.getJSON(xhrUrl, this.options.xhrParams, function(data){
23 if (data.error !== "ok") { 24 if (data.error !== "ok") {
24 console.log("Error getting data from server "+data.error); 25 console.log("Error getting data from server "+data.error);