From fb3a2505ac9b6def97b87c08aa0135aa51f04873 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 14 Mar 2014 15:09:50 +0400 Subject: [PATCH] init params debugging: support objects etc --- js/functions.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/functions.js b/js/functions.js index a7f4b789..46ab7a58 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1298,10 +1298,8 @@ function backend_sanity_check_callback(transport) { console.log('reading init-params...'); for (k in params) { - var v = params[k]; - console.log("IP: " + k + " => " + v); - - if (k == "label_base_index") _label_base_index = parseInt(v); + console.log("IP: " + k + " => " + JSON.stringify(params[k])); + if (k == "label_base_index") _label_base_index = parseInt(params[k]); } init_params = params; -- 2.39.5