Merge branch 'spidev' into 'master'
Kalender Update See merge request fronk/thetool!1325
This commit is contained in:
@@ -71,7 +71,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
});
|
||||
|
||||
|
||||
$.post(requestUrl, {visibleCalendars: visibleCalendars}, function (data) {
|
||||
$.post(requestUrl, {visibleCalendars: visibleCalendars,visibleCancellation:1}, function (data) {
|
||||
|
||||
}, 'json').done(function (json) {
|
||||
if (json.success == true) {
|
||||
@@ -1504,13 +1504,13 @@ $(document).ready(function () {
|
||||
customer_info_text: customer_info_text,
|
||||
customer_info_type: customer_info_type,
|
||||
customer_info_type_text: customer_info_type_text,
|
||||
customer_info_check:customer_info_check,
|
||||
customer_info_check: customer_info_check,
|
||||
title: title
|
||||
}, function (data) {
|
||||
|
||||
}).done(function (data) {
|
||||
});
|
||||
$('#EventModal').modal('hide');
|
||||
$('#EventModal').modal('hide');
|
||||
}
|
||||
|
||||
});
|
||||
@@ -2508,6 +2508,7 @@ $(document).ready(function () {
|
||||
let checkbox = $(".calendar-check");
|
||||
let calendarFilter = $('.btn-light-search');
|
||||
let visibleCalendars = [];
|
||||
let visibleCancellation = 0;
|
||||
let visibleCalendarTypes = [];
|
||||
let mycalendar_id = $('#calendar-id').data('calendarid');
|
||||
visibleCalendars.push(0);
|
||||
@@ -2519,13 +2520,18 @@ $(document).ready(function () {
|
||||
calendarFilter.each(function () {
|
||||
if (!$(this).hasClass('top-search-filter')) {
|
||||
visibleCalendarTypes.push($(this).data('ctype'));
|
||||
if ($(this).data('eventcancelled')) {
|
||||
visibleCancellation = 1;
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$.post(requestUrl, {
|
||||
visibleCalendars: visibleCalendars,
|
||||
visibleCalendarTypes: visibleCalendarTypes
|
||||
visibleCalendarTypes: visibleCalendarTypes,
|
||||
visibleCancellation: visibleCancellation
|
||||
}, function (data) {
|
||||
|
||||
}, 'json').done(function (json) {
|
||||
|
||||
Reference in New Issue
Block a user