From a5aa7da361868d40f2514bd9a223f234055df939 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 26 Apr 2024 17:13:50 +0200 Subject: [PATCH] Revert scroll down --- assets/js/utils/calendar_default_view.js | 4 ++-- assets/js/utils/calendar_table_view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 2484f2ea..85a67166 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -868,7 +868,7 @@ App.Utils.CalendarDefaultView = (function () { .add({days: -info.delta.days, milliseconds: -info.delta.milliseconds}) .format('YYYY-MM-DD HH:mm:ss'); - App.Http.Calendar.saveAppointment(unavailability).done(() => { + App.Http.Calendar.saveUnavailability(unavailability).done(() => { $notification.hide('blind'); }); @@ -1485,7 +1485,7 @@ App.Utils.CalendarDefaultView = (function () { firstDay: firstWeekdayNumber, slotDuration: '00:15:00', snapDuration: '00:15:00', - scrollTime: moment().format('HH') + ':00:00', + scrollTime: '07:00:00', slotLabelInterval: '01:00', eventTimeFormat: timeFormat, eventTextColor: '#333', diff --git a/assets/js/utils/calendar_table_view.js b/assets/js/utils/calendar_table_view.js index c436effc..0f1e9490 100755 --- a/assets/js/utils/calendar_table_view.js +++ b/assets/js/utils/calendar_table_view.js @@ -697,7 +697,7 @@ App.Utils.CalendarTableView = (function () { firstDay: firstWeekdayNumber, slotDuration: '00:15:00', snapDuration: '00:15:00', - scrollTime: moment().format('HH') + ':00:00', + scrollTime: '07:00:00', slotLabelInterval: '01:00', eventTimeFormat: timeFormat, eventTextColor: '#333',