forked from mirrors/easyappointments
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);
|
$('#calendar').fullCalendar('option', 'editable', false);
|
||||||
} else {
|
} else {
|
||||||
$('#google-sync, #enable-sync, #insert-appointment, #insert-unavailable').prop('disabled', false);
|
$('#google-sync, #enable-sync, #insert-appointment, #insert-unavailable').prop('disabled', false);
|
||||||
|
$('#calendar').fullCalendar('option', 'selectable', true);
|
||||||
$('#calendar').fullCalendar('option', 'editable', true);
|
$('#calendar').fullCalendar('option', 'editable', true);
|
||||||
|
|
||||||
// If the user has already the sync enabled then apply the proper style changes.
|
// If the user has already the sync enabled then apply the proper style changes.
|
||||||
|
|
Loading…
Reference in a new issue