|
|
@@ -56,7 +56,6 @@ ${tplNotify}
|
|
|
$('#sysmsgnum').html(notificationCount);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
$('#notification_area').html(htmlNotificationArea);
|
|
|
}
|
|
|
|
|
|
@@ -79,7 +78,7 @@ function refreshNotificationArea() {
|
|
|
function NotificationDelete(link, code) {
|
|
|
fetch(`${BASEURL}/api.system.removenotification/${code}`, {method: "POST"})
|
|
|
.then(() => {
|
|
|
- if (link != null)
|
|
|
+ if ((link.length != 0) && (link != '#'))
|
|
|
window.location.href = `${BASEURL}${link}`;
|
|
|
})
|
|
|
.catch(() => {
|