diff --git a/application/views/backend/calendar.php b/application/views/backend/calendar.php index b8f0a7e1..f53061fb 100755 --- a/application/views/backend/calendar.php +++ b/application/views/backend/calendar.php @@ -72,7 +72,7 @@ - diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index 0fb63d2a..566a235b 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -224,11 +224,11 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $('#select-filter-item').change(function () { // If current value is service, then the sync buttons must be disabled. if ($('#select-filter-item option:selected').attr('type') === FILTER_TYPE_SERVICE) { - $('#google-sync, #enable-sync, #insert-appointment, #insert-unavailable').prop('disabled', true); + $('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', true); $('#calendar').fullCalendar('option', 'selectable', false); $('#calendar').fullCalendar('option', 'editable', false); } else { - $('#google-sync, #enable-sync, #insert-appointment, #insert-unavailable').prop('disabled', false); + $('#google-sync, #enable-sync, #insert-appointment, #insert-dropdown').prop('disabled', false); $('#calendar').fullCalendar('option', 'selectable', true); $('#calendar').fullCalendar('option', 'editable', true);