mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02: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'),
|
'caption' => lang('Schedule a call'),
|
||||||
'icon' => 'calendar',
|
'icon' => 'calendar',
|
||||||
'allowOnMultiple' => true,
|
'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 = {};
|
var extra = {};
|
||||||
extra[_action.data && _action.data.url && _action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
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
|
// Use framework to add calendar entry
|
||||||
egw.open('', 'calendar', 'add', extra);
|
egw.open('', 'calendar', 'add', extra);
|
||||||
}
|
}
|
||||||
|
@ -321,6 +321,7 @@ class AddressbookApp extends EgwApp
|
|||||||
}
|
}
|
||||||
var extra = {};
|
var extra = {};
|
||||||
extra[_action.data && _action.data.url && _action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
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
|
// Use framework to add calendar entry
|
||||||
egw.open('','calendar','add', extra);
|
egw.open('','calendar','add', extra);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user