summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 2d2bfcaf99..8d4771c10e 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -25,7 +25,11 @@ function reload_params(params) {
25 splitlist = uri.split("?"); 25 splitlist = uri.split("?");
26 url = splitlist[0], parameters=splitlist[1]; 26 url = splitlist[0], parameters=splitlist[1];
27 // deserialize the call parameters 27 // deserialize the call parameters
28 cparams = parameters.split("&"); 28 if(parameters){
29 cparams = parameters.split("&");
30 }else{
31 cparams = []
32 }
29 nparams = {} 33 nparams = {}
30 for (i = 0; i < cparams.length; i++) { 34 for (i = 0; i < cparams.length; i++) {
31 temp = cparams[i].split("="); 35 temp = cparams[i].split("=");