Merge branch 'MDL-60547-34' of git://github.com/cescobedo/moodle into MOODLE_34_STABLE

This commit is contained in:
Andrew Nicols
2018-02-26 10:27:29 +08:00
2 changed files with 3 additions and 2 deletions
File diff suppressed because one or more lines are too long
@@ -352,9 +352,10 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/str', 'core/url',
]);
// Mark all notifications read if the user activates the mark all as read button.
this.root.on(CustomEvents.events.activate, SELECTORS.MARK_ALL_READ_BUTTON, function(e) {
this.root.on(CustomEvents.events.activate, SELECTORS.MARK_ALL_READ_BUTTON, function(e, data) {
this.markAllAsRead();
e.stopPropagation();
data.originalEvent.preventDefault();
}.bind(this));
// Mark individual notification read if the user activates it.