mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
update set_notices_seen
This commit is contained in:
@@ -123,8 +123,8 @@ define([
|
||||
if (this.$(".unread").length > 0) {
|
||||
// set all unread notice to be read
|
||||
$.ajax({
|
||||
url: Common.getUrl({name: 'set_notices_seen'}),
|
||||
type: 'POST',
|
||||
url: Common.getUrl({name: 'notifications'}),
|
||||
type: 'PUT',
|
||||
dataType: 'json',
|
||||
beforeSend: Common.prepareCSRFToken,
|
||||
success: function() {
|
||||
|
Reference in New Issue
Block a user