From 40cdb70b2f73f341efb08e10425e6183819afb6c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 31 Jan 2018 20:41:31 +0100 Subject: we need to manualy take care to mark the notification read in this case --- view/tpl/notifications_widget.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 0f27b1a47..211e8e05b 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -33,6 +33,14 @@ {{if $module != 'hq' && $startpage == 'hq'}} e.preventDefault(); + if(typeof notify_id !== 'undefined' && notify_id !== 'undefined') { + $.post( + "hq", + { + "notify_id" : notify_id + } + ); + } window.location.href = 'hq/' + b64mid; return; {{else}} -- cgit v1.2.3