mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Add onSeenAction for notifications
This commit is contained in:
parent
397fc8a620
commit
4c730456bf
@ -519,6 +519,11 @@
|
||||
var request = egw.json("notifications.notifications_ajax.update_status", [ids, "SEEN"]);
|
||||
request.sendRequest(true);
|
||||
this.update_message_status(id, "SEEN");
|
||||
if (notifymessages[id]['extra_data']['onSeenAction'])
|
||||
{
|
||||
var func = new Function(notifymessages[id]['extra_data']['onSeenAction']);
|
||||
func.apply(this,[notifymessages[id]['extra_data']]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user