mirror of https://github.com/xwiki-labs/cryptpad
#1171: Don't send changes in description everytime
This commit is contained in:
parent
df1b59513b
commit
039cb9d598
|
@ -115,7 +115,7 @@ define([
|
|||
};
|
||||
var newEvent = function (event, cb) {
|
||||
var reminders = APP.notificationsEntries;
|
||||
var eventBody = APP.eventBody;
|
||||
var eventBody = APP.eventBody || "";
|
||||
|
||||
var startDate = event.start._date;
|
||||
var endDate = event.end._date;
|
||||
|
@ -1048,9 +1048,11 @@ ICS ==> create a new event with the same UID and a RECURRENCE-ID field (with a v
|
|||
changes.recurrenceRule = rec;
|
||||
}
|
||||
|
||||
var eventBody = APP.eventBody;
|
||||
var eventBody = APP.eventBody || "";
|
||||
if (eventBody !== old.body) {
|
||||
changes.body = eventBody;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!event.triggerEventName || event.triggerEventName !== "click") {
|
||||
|
|
Loading…
Reference in New Issue