aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2018-02-02 09:23:55 +0100
committerGitHub <noreply@github.com>2018-02-02 09:23:55 +0100
commitd7ecaa8b23a36ea1e9a0f185017930b5552c00b5 (patch)
treebc3c6b600f7949ea3adf6854c0bf1690ae6e772e /view/tpl/notifications_widget.tpl
parent7ac4b477020689572a50dbc777c968263e86f6c4 (diff)
parent512f3a764361dde44e36fb72c105265d6df298ad (diff)
downloadvolse-hubzilla-d7ecaa8b23a36ea1e9a0f185017930b5552c00b5.tar.gz
volse-hubzilla-d7ecaa8b23a36ea1e9a0f185017930b5552c00b5.tar.bz2
volse-hubzilla-d7ecaa8b23a36ea1e9a0f185017930b5552c00b5.zip
Merge pull request #14 from redmatrix/dev
Dev
Diffstat (limited to 'view/tpl/notifications_widget.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}}