Merge branch 'MDL-64275-master' of git://github.com/ryanwyllie/moodle

This commit is contained in:
Jun Pataleta 2018-12-10 15:04:01 +08:00
commit 9da570bde0
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -625,10 +625,11 @@ function(
// Silently ignore if we can't updated the counts. No need to bother the user.
});
// Same as for total counts.
// This is given to us by the calling code because the unread counts for all sections
// are loaded in a single ajax request rather than one request per section.
unreadCountPromise.then(function(count) {
renderUnreadCount(root, count);
loadedTotalCounts = true;
loadedUnreadCounts = true;
return;
})
.catch(function() {