From 3b423ca49292dfe383086081e4a3c88ecd0fffb1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 17 Jul 2024 13:24:12 -0400 Subject: v0.13.5.4stackprms, fix globalVisibleCalDAVCollections --- radicale_infcloud/web/main.js | 2 +- radicale_infcloud/web/webdav_protocol.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'radicale_infcloud') diff --git a/radicale_infcloud/web/main.js b/radicale_infcloud/web/main.js index a677c6f..e638c39 100644 --- a/radicale_infcloud/web/main.js +++ b/radicale_infcloud/web/main.js @@ -180,7 +180,7 @@ var globalActiveApp=''; var globalAvailableAppsArray=new Array(); var globalEnableAppSwitch=true; var globalAppName='Calendar'; -var globalVersion='0.13.5.3stackrpms' +var globalVersion='0.13.5.4stackrpms' var globalBuildNo=1660329731; var globalXMLCache=null; var globalVersionCheckURL=(location.protocol=='file:' ? 'http:' : location.protocol)+'//www.inf-it.com/versioncheck/'+globalAppName+'/?v='+globalVersion; diff --git a/radicale_infcloud/web/webdav_protocol.js b/radicale_infcloud/web/webdav_protocol.js index 285c0b7..8c10a7e 100644 --- a/radicale_infcloud/web/webdav_protocol.js +++ b/radicale_infcloud/web/webdav_protocol.js @@ -771,8 +771,10 @@ function netFindResource(inputResource, inputResourceIndex, forceLoad, indexR, l if(globalSettings.activecalendarcollections.value.length>0 && globalVisibleCalDAVCollections.length==0) globalDefaultCalendarCollectionActiveAll=true; } - // stackrpms,2 This forces all calendars to turn on at initial load - globalDefaultCalendarCollectionActiveAll=true; + // stackrpms,4 This forces all calendars to turn on at initial load + // This breaks globalVisibleCalDAVCollections subtly over time when + // the web page stays open for a while. Do not run this here like this. + //globalDefaultCalendarCollectionActiveAll=true; if(globalDefaultCalendarCollectionActiveAll) for(var i=0; i