From 98998ad0b8ebb79abad78c4915a11b8f36e91c3c Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 17 May 2024 12:56:10 +0200 Subject: [PATCH] Attach the fullCalendar instance to the calendar component for easy access --- assets/js/utils/calendar_default_view.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 93fe270c..c7126265 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -1494,6 +1494,8 @@ App.Utils.CalendarDefaultView = (function () { fullCalendar.render(); + $calendar.data('fullCalendar', fullCalendar); + // Trigger once to set the proper footer position after calendar initialization. onWindowResize();