From 5570953fb6c0e2c73fa5a2ad374a54c42eb742ef Mon Sep 17 00:00:00 2001 From: Michael Prager Date: Mon, 16 Jan 2012 00:41:55 +0100 Subject: [PATCH] log final html output for easier debugging --- comingNext/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comingNext/index.html b/comingNext/index.html index 761cf5c..5cc4ee6 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -936,6 +936,7 @@ function updateData() var text = config['nothingText'].Value.replace(/%d/, config['monthRange'].Value); entriesHtml = '
' + text + '
'; } + log("output: " + entriesHtml); if (cacheEntriesHtml != entriesHtml) { if (mode == 0) document.getElementById('calendarList').innerHTML = entriesHtml; @@ -1294,7 +1295,7 @@ function loadSettings() log('Warning: unknown or invalid setting: ' + stringlist[i]); continue; } - log('stringlist: ' + key + '=\'' + value + '\''); + log('stringlist[' + i + ']: ' + key + '=\'' + value + '\''); if (config[key].Type == 'Int') { config[key].Value = Number(value); if (isNaN(config[key].Value)) -- 2.39.2