]> code.delx.au - comingnext/blobdiff - comingNext/index.html
added info for T7-00 support (tested on Nokia RDA service). First working Anna device...
[comingnext] / comingNext / index.html
index 8bb8ab3a4c70c1d5e9853d349d7ead479bd58f8c..518c31d5331c6053932d55d13c9dcd24e0a862f8 100644 (file)
@@ -541,6 +541,16 @@ function updateData()
 \r
        // check if we got additional or less calendars since our last update\r
        var newCalendarList = listCalendars();\r
+       if (newCalendarList == null) {\r
+               // Something went wrong fetching the calendars list.\r
+               // This usually happens when a backup is being made.\r
+               // Retry the next time updateData() is called by \r
+               // resetting errorOccured\r
+               log('updateData(): listCalendars() failed, trying again laster...');\r
+               cacheEntriesHtml = ''; // make sure we replace the currently shown error message on the next update\r
+               errorOccured = false;\r
+               return;\r
+       }\r
        if (newCalendarList.length != calendarList.length) {\r
                calendarList = newCalendarList;\r
                updateCalendarColors();\r