Add more translations and fix csp error while frame accessing egroupware.org

This commit is contained in:
Hadi Nategh 2020-04-29 17:39:04 +02:00
parent 0431911dd1
commit 490ada9394
3 changed files with 11 additions and 2 deletions

View File

@ -592,6 +592,13 @@ class addressbook_ui extends addressbook_bo
'onExecute' => 'javaScript:app.addressbook.videoconference_actionCall',
'enabled' => 'javaScript:app.addressbook.videoconference_isUserOnline'
],
'audiocall' => [
'caption' => lang('Audio Call'),
'icon' => 'accept_call',
'allowOnMultiple' => true,
'onExecute' => 'javaScript:app.addressbook.videoconference_actionCall',
'enabled' => 'javaScript:app.addressbook.videoconference_isUserOnline'
],
'invite' => [
'caption' => lang('Invite to current call'),
'icon' => 'status/videoconference_join',

View File

@ -1119,7 +1119,8 @@ var AddressbookApp = /** @class */ (function (_super) {
data.push({
id: row.data.account_id,
name: row.data.n_fn,
avatar: "account:" + row.data.account_id
avatar: "account:" + row.data.account_id,
audioonly: _action.id == 'audiocall' ? true : false
});
}
if (_action.id == 'invite') {

View File

@ -1362,7 +1362,8 @@ class AddressbookApp extends EgwApp
data.push({
id: row.data.account_id,
name: row.data.n_fn,
avatar: "account:"+row.data.account_id
avatar: "account:"+row.data.account_id,
audioonly: _action.id == 'audiocall' ? true : false
});
}
if (_action.id == 'invite')