aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-31 20:41:31 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-31 20:41:31 +0100
commit40cdb70b2f73f341efb08e10425e6183819afb6c (patch)
treea8d56e219ae0c489cdbe56636fb88f558bce2a00 /view/tpl
parentd24cf0b85b24cb8d6d10e9fe66fed568f9fb08b2 (diff)
downloadvolse-hubzilla-40cdb70b2f73f341efb08e10425e6183819afb6c.tar.gz
volse-hubzilla-40cdb70b2f73f341efb08e10425e6183819afb6c.tar.bz2
volse-hubzilla-40cdb70b2f73f341efb08e10425e6183819afb6c.zip
we need to manualy take care to mark the notification read in this case
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/notifications_widget.tpl8
1 files changed, 8 insertions, 0 deletions
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}}