mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Make sure the status app is there before calling its functions
This commit is contained in:
parent
86ddd9cb58
commit
f87a5e0b5d
@ -362,7 +362,8 @@
|
||||
switch (notifymessages[id]['extra_data']['egw_pr_notify'])
|
||||
{
|
||||
case EGW_PR_NOTIFY_HEIGH:
|
||||
if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] <= 300)
|
||||
if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] <= 300 &&
|
||||
app.status && typeof app.status.scheduled_receivedCall == 'function')
|
||||
{
|
||||
app.status.scheduled_receivedCall({
|
||||
url: notifymessages[id]['extra_data']['videoconference'],
|
||||
|
Loading…
Reference in New Issue
Block a user