fix calendar
This commit is contained in:
@@ -646,6 +646,7 @@ Espo.define('crm:views/calendar/calendar', ['view', 'lib!full-calendar'], functi
|
||||
this.getModelFactory().create(event.scope, function (model) {
|
||||
model.once('sync', function () {
|
||||
this.notify(false);
|
||||
this.$calendar.fullCalendar('updateEvent', event);
|
||||
}.bind(this));
|
||||
model.id = event.recordId;
|
||||
model.save(attributes, {patch: true}).fail(function () {
|
||||
|
||||
Reference in New Issue
Block a user