mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Allow users to edit events in all views
This commit is contained in:
parent
6576a9207d
commit
a2ba87256d
1 changed files with 0 additions and 4 deletions
|
@ -303,12 +303,8 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
$selectFilterItem.val() === 'all'
|
$selectFilterItem.val() === 'all'
|
||||||
) {
|
) {
|
||||||
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', true);
|
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', true);
|
||||||
fullCalendar.setOption('selectable', false);
|
|
||||||
fullCalendar.setOption('editable', false);
|
|
||||||
} else {
|
} else {
|
||||||
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', false);
|
$('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', false);
|
||||||
fullCalendar.setOption('selectable', true);
|
|
||||||
fullCalendar.setOption('editable', true);
|
|
||||||
|
|
||||||
const providerId = $selectFilterItem.val();
|
const providerId = $selectFilterItem.val();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue