05/04 Update bell Mark all as read issue
This commit is contained in:
@@ -398,7 +398,10 @@
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
fetch(MARK_ALL_URL, {
|
fetch(MARK_ALL_URL, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'X-CSRFToken': CSRF_TOKEN },
|
headers: {
|
||||||
|
'X-CSRFToken': CSRF_TOKEN,
|
||||||
|
'X-Requested-With': 'XMLHttpRequest',
|
||||||
|
},
|
||||||
credentials: 'same-origin',
|
credentials: 'same-origin',
|
||||||
})
|
})
|
||||||
.then(function(r) { return r.json(); })
|
.then(function(r) { return r.json(); })
|
||||||
|
|||||||
Reference in New Issue
Block a user