]> code.delx.au - comingnext/commitdiff
log final html output for easier debugging
authorMichael Prager <mail@michaelprager.de>
Sun, 15 Jan 2012 23:41:55 +0000 (00:41 +0100)
committerMichael Prager <mail@michaelprager.de>
Mon, 16 Jan 2012 00:34:59 +0000 (01:34 +0100)
comingNext/index.html

index 761cf5cebcd71d65f4cfe2f464d6587d7ef4d5ad..5cc4ee671e71224635878ff2cf18f897a4cfb9c2 100644 (file)
@@ -936,6 +936,7 @@ function updateData()
                        var text = config['nothingText'].Value.replace(/%d/, config['monthRange'].Value);\r
                        entriesHtml = '<div style="width:295px; height:75px; text-align:center; line-height:75px; overflow:visible;">' + text + '</div>';\r
                }\r
+               log("output: " + entriesHtml);\r
                if (cacheEntriesHtml != entriesHtml) {\r
                        if (mode == 0)\r
                                document.getElementById('calendarList').innerHTML = entriesHtml;\r
@@ -1294,7 +1295,7 @@ function loadSettings()
                                        log('Warning: unknown or invalid setting: ' + stringlist[i]);\r
                                        continue;\r
                                }\r
-                               log('stringlist: ' + key + '=\'' + value + '\'');\r
+                               log('stringlist[' + i + ']: ' + key + '=\'' + value + '\'');\r
                                if (config[key].Type == 'Int') {\r
                                        config[key].Value = Number(value);\r
                                        if (isNaN(config[key].Value))\r