mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 19:04:18 +00:00
fix(calendar): Add confirmation box when dismissing calendar event edition with background click, only if the event is in edition. Fixes #5585.
This commit is contained in:
@@ -216,6 +216,7 @@
|
||||
this.categories = {};
|
||||
this.showRecurrenceEditor = this.component.$hasCustomRepeat;
|
||||
this.showAttendeesEditor = this.component.attendees && this.component.attendees.length;
|
||||
this.isFullscreen = false;
|
||||
|
||||
if (this.component.type == 'appointment') {
|
||||
this.component.initAttendees();
|
||||
@@ -296,6 +297,10 @@
|
||||
this.component.$attendees.initOrganizer(Calendar.$get(this.component.destinationCalendar));
|
||||
};
|
||||
|
||||
this.toggleFullscreen = function() {
|
||||
vm.isFullscreen = !vm.isFullscreen;
|
||||
}
|
||||
|
||||
// Autocomplete cards for attendees
|
||||
this.cardFilter = function ($query) {
|
||||
return AddressBook.$filterAll($query);
|
||||
|
||||
Reference in New Issue
Block a user