mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
update get unseen notifications count
This commit is contained in:
@@ -30,11 +30,11 @@ define([
|
||||
|
||||
var reqUnreadNum = function() {
|
||||
$.ajax({
|
||||
url: Common.getUrl({name: 'get_unseen_notices_num'}),
|
||||
url: Common.getUrl({name: 'notifications'}),
|
||||
dataType: 'json',
|
||||
cache: false,
|
||||
success: function(data) {
|
||||
var count = data['count'],
|
||||
var count = data['unseen_count'],
|
||||
$num = _this.$num;
|
||||
$num.html(count);
|
||||
if (count > 0) {
|
||||
|
Reference in New Issue
Block a user