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/webdav_protocol.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'radicale_infcloud/web/webdav_protocol.js') 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