EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
calendar reRender date fix
Yuri Kuznetsov8feaadc162fa
diff --git a/client/modules/crm/src/views/calendar/calendar.js b/client/modules/crm/src/views/calendar/calendar.jsindex af8821ba4c..0bb103a0f3 100644--- a/client/modules/crm/src/views/calendar/calendar.js+++ b/client/modules/crm/src/views/calendar/calendar.js@@ -930,12 +930,9 @@ class CalendarView extends View {});},datesSet: () => {- const date = this.getDateTime().fromIso(this.calendar.getDate().toISOString());- const m = this.dateToMoment(this.calendar.getDate());+ this.date = this.dateToMoment(this.calendar.getDate()).format('YYYY-MM-DD');- this.date = date;-- this.trigger('view', m.format('YYYY-MM-DD'), this.mode);+ this.trigger('view', this.date, this.mode);},events: (info, callback) => {const dateTimeFormat = this.getDateTime().internalDateTimeFormat;