mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 03:52:21 +03:00
Fix for unselectable calendar when switching from service to provider view
This commit is contained in:
parent
523e260489
commit
9c2de28814
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
$('#calendar').fullCalendar('option', 'editable', false);
|
||||
} else {
|
||||
$('#google-sync, #enable-sync, #insert-appointment, #insert-unavailable').prop('disabled', false);
|
||||
$('#calendar').fullCalendar('option', 'selectable', true);
|
||||
$('#calendar').fullCalendar('option', 'editable', true);
|
||||
|
||||
// If the user has already the sync enabled then apply the proper style changes.
|
||||
|
|
Loading…
Reference in a new issue