mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-19 20:09:28 +00:00
(feat) new 'viewable' property on events/tasks for full viewers
This commit is contained in:
@@ -77,11 +77,13 @@
|
||||
}
|
||||
|
||||
function openEvent($event, event) {
|
||||
openComponent($event, event, 'appointment');
|
||||
if (event.viewable)
|
||||
openComponent($event, event, 'appointment');
|
||||
}
|
||||
|
||||
function openTask($event, task) {
|
||||
openComponent($event, task, 'task');
|
||||
if (task.viewable)
|
||||
openComponent($event, task, 'task');
|
||||
}
|
||||
|
||||
function openComponent($event, component, type) {
|
||||
|
||||
Reference in New Issue
Block a user