From 0e9758372ddca6374dcf668af77fc4e54166c1e9 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 8 Dec 2020 09:36:46 +0200 Subject: [PATCH] Added now indication and changed snap duration --- assets/js/backend_calendar_default_view.js | 3 ++- assets/js/backend_calendar_table_view.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index ba63b269..b5cfe138 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -1408,11 +1408,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; // Initialize page calendar $('#calendar').fullCalendar({ + nowIndicator: true, defaultView: defaultView, height: getCalendarHeight(), editable: true, firstDay: firstWeekdayNumber, - snapDuration: '00:30:00', + snapDuration: '00:15:00', timeFormat: timeFormat, slotLabelFormat: slotTimeFormat, allDayText: EALang.all_day, diff --git a/assets/js/backend_calendar_table_view.js b/assets/js/backend_calendar_table_view.js index 616dec84..fcb75b65 100755 --- a/assets/js/backend_calendar_table_view.js +++ b/assets/js/backend_calendar_table_view.js @@ -697,11 +697,12 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; defaultView: 'agendaDay', height: getCalendarHeight(), editable: true, - firstDay: firstWeekdayNumber, timeFormat: timeFormat, slotLabelFormat: slotTimeFormat, allDaySlot: true, columnFormat: columnFormat, + firstDay: firstWeekdayNumber, + snapDuration: '00:15:00', header: { left: 'listDay,agendaDay', center: '',