Skip to content

Commit

Permalink
Merge branch 'MDL-60547-33' of git://github.com/cescobedo/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_33_STABLE
  • Loading branch information
andrewnicols committed Feb 26, 2018
2 parents 504e36d + c4f22db commit d6e63cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -357,9 +357,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.
Expand Down

0 comments on commit d6e63cb

Please sign in to comment.