Fix refresh Appointments MONTH calendarView : current2active

Fix undisplayed appointments if not in this current month
and if moved by D&D on prev/next month days view (displace OK),
but after auto refresh, appointment disapear in view...
After little fear, it exist in db :)
Need to choose prev/next month (where is moved) to see it.

see https://fullcalendar.io/docs/view-object
This commit is contained in:
Thomas Ingles 2024-04-29 23:45:29 +02:00 committed by Alex Tselegidis
parent 40cab55a02
commit ea4be0162e

View file

@ -56,8 +56,8 @@ App.Utils.CalendarDefaultView = (function () {
$calendar,
$selectFilterItem.val(),
$selectFilterItem.find('option:selected').attr('type'),
calendarView.currentStart,
calendarView.currentEnd,
calendarView.activeStart,
calendarView.activeEnd,
);
});
@ -1153,8 +1153,8 @@ App.Utils.CalendarDefaultView = (function () {
$calendar,
$selectFilterItem.val(),
$('#select-filter-item option:selected').attr('type'),
fullCalendar.view.currentStart,
fullCalendar.view.currentEnd,
fullCalendar.view.activeStart,
fullCalendar.view.activeEnd,
);
$(window).trigger('resize'); // Places the footer on the bottom.
@ -1641,8 +1641,8 @@ App.Utils.CalendarDefaultView = (function () {
$calendar,
$selectFilterItem.val(),
$selectFilterItem.find('option:selected').attr('type'),
fullCalendar.view.currentStart,
fullCalendar.view.currentEnd,
fullCalendar.view.activeStart,
fullCalendar.view.activeEnd,
);
}, 60000);
}