feat(notifications): support dismissing notifications in PostIt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-10-18 12:49:52 +01:00
commit cb8cf9406d
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
12 changed files with 389 additions and 181 deletions

View file

@ -2,8 +2,8 @@
var notifClick =
function(nid) {
if (nid > 0) {
$.get({
url: '/api/v1/dimiss/click/' + nid,
$.post({
url: '/Home/DismissNotification/' + nid,
success: $('div[data-nid='+nid+']').remove()
});
}