diff --git a/MarkNotification/ossn_com.php b/MarkNotification/ossn_com.php
index c68ac02..4ff9041 100644
--- a/MarkNotification/ossn_com.php
+++ b/MarkNotification/ossn_com.php
@@ -14,6 +14,8 @@
function ossn_mark_notifications_init() {
//css
ossn_extend_view('css/ossn.default', 'css/marknotif');
+ //js
+ ossn_extend_view('js/opensource.socialnetwork', 'js/marknotif');
//pages
ossn_register_page('mark', 'ossn_notifications_page');
//actions
@@ -72,17 +74,17 @@ function notification_insert_custom_html($hook, $htype, $return, $params) {
$frag = $doc->createDocumentFragment();
//Mark the notification as read
- $link = htmlspecialchars(ossn_site_url("action/mark/read?guid=" . $nguid, true));
+ $link = 'javascript:void(0);'; //htmlspecialchars(ossn_site_url("action/mark/read?guid=" . $nguid, true));
$notif_text = ossn_print('mark:notification:read');
$notif_title = ossn_print('mark:notification:read:title');
- $data = "" . $notif_text . "";
+ $data = "" . $notif_text . "";
$frag->appendXml($data);
//Delete the notification.
$notif_text = ossn_print('mark:notification:delete');
$notif_title = ossn_print('mark:notification:delete:title');
- $link = htmlspecialchars(ossn_site_url("action/mark/delete?guid={$nguid}", true));
- $data = "" . $notif_text . "";
+ $link ='javascript:void(0);'; //htmlspecialchars(ossn_site_url("action/mark/delete?guid={$nguid}", true));
+ $data = "" . $notif_text . "";
$frag->appendXml($data);
/* //Mark the notification as unread
diff --git a/MarkNotification/ossn_com.xml b/MarkNotification/ossn_com.xml
index 15739ff..a83afbb 100644
--- a/MarkNotification/ossn_com.xml
+++ b/MarkNotification/ossn_com.xml
@@ -7,7 +7,7 @@
https://www.apophissoftware.com/
GNU General Public License v3
https://www.gnu.org/licenses/gpl-3.0.en.html
- 6.1.1.1
+ 6.1.2.0
ossn_version
6.1