Allow users to edit events in all views

This commit is contained in:
Alex Tselegidis 2024-04-26 16:41:38 +02:00
parent 6576a9207d
commit a2ba87256d
1 changed files with 0 additions and 4 deletions

View File

@ -303,12 +303,8 @@ App.Utils.CalendarDefaultView = (function () {
$selectFilterItem.val() === 'all'
) {
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', true);
fullCalendar.setOption('selectable', false);
fullCalendar.setOption('editable', false);
} else {
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', false);
fullCalendar.setOption('selectable', true);
fullCalendar.setOption('editable', true);
const providerId = $selectFilterItem.val();