Merge pull request #2874 from cpradio/clear-notifications
FEATURE: Mark All as Read button for Notifications page
This commit is contained in:
@@ -46,5 +46,9 @@ Discourse.NotificationContainer.reopenClass({
|
||||
}).catch(function(error) {
|
||||
return Discourse.NotificationContainer.createFromError(error);
|
||||
});
|
||||
},
|
||||
|
||||
resetNew: function() {
|
||||
return Discourse.ajax("/notifications/reset-new", {type: 'PUT'});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user