Dear Jan Maté / Mattias,
First of all thank you for the very useful CaldavZap software, I installed it in our company to be working with davical server.
To comply some of our needs I developed a tool to add events directly to the davical server database, and when a user press F5 and login again to your CaldavZap client all of them appear and can be managed without an issue (means that the way we are adding directly to the DB is correct).
The problem is that I have received many requests to remove the needing of F5 and typing again the login and password, so I enabled the reload button (var globalEnableRefresh=true; in config.js) hoping that once the user press it, the some extra events that may have been added to the server DB are detected and loaded. The refresh circle button is appearing correctly, but the problem is that clicking on it, dosent make any effect.
I "Swimmed" in your code during one week, trying to find the part of the code to perform the loading. Trying all combinations of parameters in the execution of the function "reloadResources(dontSaveSettings, loadArray)" in main.js. I created another one (forceReloadResources) to avoid touching your code and I called it from the div "intRefresh" onclick="forceReloadResources();" in index.html. I tried also to see how you make the initial loading after the login and simulate it in the click event (execute loadConfig() function and others in many ways..etc..etc), nothing of this worked.
Please I appreciate if you help me indicating where I have to modify or add a code to make all the calendar resources and their events reload again when the user press the reload button without needing of login again(even it is ok for me the alternative of triggering that synchronization or reloading automatically every 5 min without the need of pressing the button). By the way, I use the globalNetworkCheckSettings (using globalAccountSettings to avoid auth and login is not possible in our case, we have 20 users).
Thanks a lot,