fix caching in browser, if iCal holiday url get set or changed

This commit is contained in:
ralf
2024-04-10 10:46:01 +02:00
parent 785b61f34e
commit aa3d70202c
5 changed files with 24 additions and 5 deletions

View File

@@ -139,7 +139,7 @@ egw.extend('calendar', egw.MODULE_GLOBAL, function (_app, _wnd)
// one widget listening for the response by the time it gets back,
// and we can't do that when it's queued.
_holiday_cache[year] = window.fetch(
egw.link('/calendar/holidays.php', {year: year})
egw.link('/calendar/holidays.php', {year: year, url: this.config('ical_holiday_url') || ''})
).then((response) =>
{
return _holiday_cache[year] = response.json();