mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-15 12:56:41 +00:00
fix(calendar(js)): conditional display of edit and delete buttons
This commit is contained in:
1 parent
3f7fef0788
commit
16459c7b3d
11 files changed
+57
-40
No files matched your search
@@ -278,6 +278,13 @@
|
||||
this.showRecurrenceEditor = true;
|
||||
};
|
||||
|
||||
this.destinationCalendars = function () {
|
||||
if (this.component.isErasable)
|
||||
return Calendar.$findAll(null, true, this.component.pid);
|
||||
else
|
||||
return [Calendar.$get(this.component.pid)];
|
||||
};
|
||||
|
||||
this.changeCalendar = function () {
|
||||
var updateRequired = (this.component.attendees && this.component.attendees.length > 0);
|
||||
if (updateRequired)
|
||||
|
||||
Reference in new issue
Block a user