mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
adding videocall via calendar action
This commit is contained in:
parent
86940ce3f9
commit
610a223c00
@ -596,7 +596,7 @@ class addressbook_ui extends addressbook_bo
|
||||
'caption' => lang('Schedule a call'),
|
||||
'icon' => 'calendar',
|
||||
'allowOnMultiple' => true,
|
||||
'onExecute' => 'javaScript:app.addressbook.videoconference_scheduleCall',
|
||||
'onExecute' => 'javaScript:app.addressbook.add_cal',
|
||||
]
|
||||
]
|
||||
];
|
||||
|
@ -275,6 +275,8 @@ var AddressbookApp = /** @class */ (function (_super) {
|
||||
}
|
||||
var extra = {};
|
||||
extra[_action.data && _action.data.url && _action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
||||
if (_action.id === 'schedule_call')
|
||||
extra['videoconference'] = 1;
|
||||
// Use framework to add calendar entry
|
||||
egw.open('', 'calendar', 'add', extra);
|
||||
}
|
||||
|
@ -321,9 +321,10 @@ class AddressbookApp extends EgwApp
|
||||
}
|
||||
var extra = {};
|
||||
extra[_action.data && _action.data.url && _action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
||||
if (_action.id === 'schedule_call') extra['videoconference'] = 1;
|
||||
|
||||
// Use framework to add calendar entry
|
||||
egw.open('','calendar','add',extra);
|
||||
egw.open('','calendar','add', extra);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user