summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html3
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basetable_bottom.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index c8c1daeb75..2d2bfcaf99 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -22,7 +22,8 @@
22<script> 22<script>
23function reload_params(params) { 23function reload_params(params) {
24 uri = window.location.href; 24 uri = window.location.href;
25 [url, parameters] = uri.split("?"); 25 splitlist = uri.split("?");
26 url = splitlist[0], parameters=splitlist[1];
26 // deserialize the call parameters 27 // deserialize the call parameters
27 cparams = parameters.split("&"); 28 cparams = parameters.split("&");
28 nparams = {} 29 nparams = {}
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html
index 4eb303da79..ac14363798 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html
@@ -44,7 +44,8 @@
44 setting = save.split(';'); 44 setting = save.split(';');
45 for ( i = 0; i < setting.length; i++) { 45 for ( i = 0; i < setting.length; i++) {
46 if (setting[i].length > 0) { 46 if (setting[i].length > 0) {
47 [id, v] = setting[i].split(':'); 47 splitlist = setting[i].split(':');
48 id = splitlist[0], v = splitlist[1];
48 if (v == 'true') { 49 if (v == 'true') {
49 $('.chbxtoggle#'+id).prop('checked', true); 50 $('.chbxtoggle#'+id).prop('checked', true);
50 } 51 }