mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-14 11:23:19 +00:00
fix(calendar): Rework confirmation box when dismissing calendar event edition with background click, only if the event is in edition. Rework of #5585. Closes #5720. Fixes #5732.
This commit is contained in:
@@ -278,9 +278,13 @@
|
||||
comment: data.comment,
|
||||
attendees: data.attendees
|
||||
};
|
||||
edata.organizer.freebusy = {};
|
||||
for (i = 0; i < edata.attendees.length; i++) {
|
||||
edata.attendees[i].freebusy = {};
|
||||
if (edata.organizer && edata.organizer.freebusy) {
|
||||
edata.organizer.freebusy = {};
|
||||
}
|
||||
if (edata.attendees) {
|
||||
for (i = 0; i < edata.attendees.length; i++) {
|
||||
edata.attendees[i].freebusy = {};
|
||||
}
|
||||
}
|
||||
json = JSON.stringify(edata);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user