Kalender Update

* Abgesagte Termine können nun ausgeblendet werden.
This commit is contained in:
Daniel Spitzer
2025-05-13 17:13:08 +02:00
parent d5c5d4306a
commit d73bec0375

View File

@@ -71,7 +71,7 @@ document.addEventListener('DOMContentLoaded', function () {
});
$.post(requestUrl, {visibleCalendars: visibleCalendars,visibleCancellation:1}, function (data) {
$.post(requestUrl, {visibleCalendars: visibleCalendars, visibleCancellation: 1}, function (data) {
}, 'json').done(function (json) {
if (json.success == true) {
@@ -1007,7 +1007,9 @@ if (typeof (EventSource) !== 'undefined') {
});
calendarFilter.each(function () {
if (!$(this).hasClass('top-search-filter')) {
visibleCalendarTypes.push(parseInt($(this).data('ctype')));
if ($(this).data('ctype')) {
visibleCalendarTypes.push(parseInt($(this).data('ctype')));
}
}
});
jsondata = JSON.parse(e.data);