mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-64275-master' of git://github.com/ryanwyllie/moodle
This commit is contained in:
commit
9da570bde0
File diff suppressed because one or more lines are too long
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user