Merge pull request #1517 from sudwebdesign/develop-refreshCalendarAppointments-current2active-month_view-fix

Fix refresh Appointments MONTH calendarView : current2active
This commit is contained in:
Alex Tselegidis 2024-05-11 19:21:18 +02:00 committed by GitHub
commit 4542251167
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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