From: Andrew Dolgov Date: Fri, 14 Mar 2014 11:09:50 +0000 (+0400) Subject: init params debugging: support objects etc X-Git-Tag: 1.12~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fb3a2505ac9b6def97b87c08aa0135aa51f04873;p=tt-rss.git init params debugging: support objects etc --- 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;