diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/menu.js b/js/menu.js index eaef655c3..90c623f6f 100644 --- a/js/menu.js +++ b/js/menu.js @@ -590,7 +590,7 @@ var News = News || {}; $.post(OC.filePath('news', 'ajax', 'setallitemsread.php'), data, function(jsonData) { if(jsonData.status == 'success'){ - self._updateUnreadCountAll(); + self._setUnreadCount(type, id, parseInt(jsonData.data.unreadCount)); } else { OC.dialogs.alert(jsonData.data.message, t('news', 'Error')); } |