Merge branch 'MDL-60547-34' of git://github.com/cescobedo/moodle into MOODLE_34_STABLE
This commit is contained in:
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.
|
||||
|
||||
Reference in New Issue
Block a user