]> git.wh0rd.org Git - tt-rss.git/commitdiff
init params debugging: support objects etc
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 11:09:50 +0000 (15:09 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 11:09:50 +0000 (15:09 +0400)
js/functions.js

index a7f4b78916185196c794695816421c0f9bfd401d..46ab7a584cb2b6b39d52e4c273bf31c0d55c4679 100644 (file)
@@ -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;