From 9bcc67ac8954ed7725c1ad1014dd964e6fefd9b6 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 3 May 2023 07:32:02 +0200 Subject: [PATCH] Enable the nowIndicator in fullcalendar modules --- assets/js/utils/calendar_default_view.js | 1 + assets/js/utils/calendar_table_view.js | 1 + 2 files changed, 2 insertions(+) diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 025a059e..73b89840 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -1570,6 +1570,7 @@ App.Utils.CalendarDefaultView = (function () { // Initialize page calendar fullCalendar = new FullCalendar.Calendar($calendar[0], { initialView, + nowIndicator: true, height: getCalendarHeight(), editable: true, firstDay: firstWeekdayNumber, diff --git a/assets/js/utils/calendar_table_view.js b/assets/js/utils/calendar_table_view.js index 28cacadc..f49b1fa2 100755 --- a/assets/js/utils/calendar_table_view.js +++ b/assets/js/utils/calendar_table_view.js @@ -679,6 +679,7 @@ App.Utils.CalendarTableView = (function () { const fullCalendar = new FullCalendar.Calendar($wrapper[0], { initialView: 'timeGridDay', + nowIndicator: true, height: getCalendarHeight(), editable: true, firstDay: firstWeekdayNumber,