]> code.delx.au - comingnext/blobdiff - comingNext/index.html
delay load init()
[comingnext] / comingNext / index.html
index 19789fd9776933c66543a04028fcc50ede80c0e9..c0856466b68077abc5d606b64ef1c9ee9cb5cf05 100644 (file)
@@ -83,7 +83,7 @@ var config = {
 // Nothing of interest from here on...\r
 //-------------------------------------------------------\r
 var panelNum = 0; // use 1 for second panel\r
-var version = "1.31";\r
+var version = "1.32";
 var versionURL = "http://comingnext.sourceforge.net/version.xml";\r
 var calendarService = null;\r
 var cacheEntriesHtml = [];\r
@@ -363,14 +363,14 @@ function cancelNotification()
 \r
 function callback(transId, eventCode, result)\r
 {\r
-       log("callback(): panelNum: %d  transId: %d  eventCode: %d result.ErrorCode: %d", panelNum, transId, eventCode, result.ErrorCode);
+       log("callback(): panelNum: " + panelNum + "  transId: " + transId + "  eventCode: " + eventCode + " result.ErrorCode: " + result.ErrorCode);
        lastReloadTime = null; // force calendar data reload on next update
        updateData();\r
 }\r
 \r
 function settingsCallback(transId, eventCode, result)\r
 {\r
-       log("settingsCallback(): panelNum: %d  transId: %d  eventCode: %d result.ErrorCode: %d", panelNum, transId, eventCode, result.ErrorCode);
+       log("settingsCallback(): panelNum: " + panelNum + "  transId: " + transId + "  eventCode: " + eventCode + " result.ErrorCode: " + result.ErrorCode);
        loadSettings();\r
 }\r
 \r
@@ -1565,7 +1565,7 @@ hr { color:#ffffff; background-color:#ffffff; height:1px; text-align:left; borde
 \r
 </head>\r
 \r
-<body onload="javascript:init()" onresize="javascript:updateScreen()" id="body" class="background">
+<body onload="javascript:setTimeout('init()', 10)" onresize="javascript:updateScreen()" id="body" class="background">
 <div id="homescreenView">\r
        <div id="calendarList"></div>\r
 </div>\r