From 9c2de28814f9084212aae5b0c6e421600e84c682 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 --- 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 c1d5ba40..cdd66a24 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.