mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Some fixes for videoconference alarm notification:
- Send necessary info to the client via calendar notification - Show dialog always on the top
This commit is contained in:
parent
55c90c880c
commit
bdd0eef739
@ -1164,7 +1164,10 @@ class calendar_boupdate extends calendar_bo
|
||||
$notification->set_popupdata('calendar',
|
||||
array('egw_pr_notify' => 1,
|
||||
'type' => $m_type,
|
||||
'videoconference' => $details['videoconference'])
|
||||
'videoconference' => $details['videoconference'],
|
||||
'account_id' => $userid,
|
||||
'name' => $fullname
|
||||
)
|
||||
+ ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : []));
|
||||
}
|
||||
$notification->set_popupmessage($subject."\n\n".$notify_body."\n\n".$details['description']."\n\n".$details_body."\n\n");
|
||||
|
@ -358,13 +358,13 @@
|
||||
case EGW_PR_NOTIFY_HEIGH:
|
||||
if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] <= 300)
|
||||
{
|
||||
app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference']);
|
||||
app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference'],
|
||||
notifymessages[id]['extra_data']['account_id'], notifymessages[id]['extra_data']['name']);
|
||||
}
|
||||
else {
|
||||
poped.push(id);
|
||||
this.toggle(true);
|
||||
}
|
||||
|
||||
this.toggle(true);
|
||||
poped.push(id);
|
||||
break;
|
||||
case EGW_PR_NOTIFY_MEDIUM:
|
||||
case EGW_PR_NOTIFY_LOW:
|
||||
|
@ -1373,6 +1373,7 @@ span.ui-icon-search {
|
||||
background: #CDCDCD;
|
||||
}
|
||||
.ui-dialog {
|
||||
z-index: 1000;
|
||||
box-shadow: -2px 1px 9px 3px #B4B4B4;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
|
@ -288,6 +288,7 @@ span.ui-icon-search {
|
||||
background: @gray_20;
|
||||
}
|
||||
.ui-dialog {
|
||||
z-index: 1000;
|
||||
box-shadow: -2px 1px 9px 3px @gray_30;
|
||||
.ui-dialog-buttonpane {
|
||||
padding-left: .8em;
|
||||
|
Loading…
Reference in New Issue
Block a user