Merge branch 'spidev' into 'master'

Kalender Update

See merge request fronk/thetool!1326
This commit is contained in:
Daniel Spitzer
2025-05-13 15:14:04 +00:00

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);