mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +03:00
Fix for unselectable calendar when switching from service to provider view (#483).
(cherry picked from commit 9c2de28
)
This commit is contained in:
parent
8fa38aa139
commit
3428c6552a
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