1
0
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:
lian
2016-08-19 15:00:10 +08:00
committed by lian
parent 996c67fdb7
commit 5a700d5f00
7 changed files with 60 additions and 37 deletions

View File

@@ -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() {