mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 04:20:05 +02:00
fix caching in browser, if iCal holiday url get set or changed
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user