From 3428c6552aa803bd4f8e1092f0bacf5e8d5a6502 Mon Sep 17 00:00:00 2001 From: oxteam Date: Tue, 22 May 2018 23:33:34 +0200 Subject: [PATCH] Fix for unselectable calendar when switching from service to provider view (#483). (cherry picked from commit 9c2de28) --- src/assets/js/backend_calendar_default_view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets/js/backend_calendar_default_view.js b/src/assets/js/backend_calendar_default_view.js index 1c19f8d5..9053b9b6 100755 --- a/src/assets/js/backend_calendar_default_view.js +++ b/src/assets/js/backend_calendar_default_view.js @@ -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.