Commit 46785923 authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'MDL-56426_master' of git://github.com/markn86/moodle

parents 6dad38de f34df179
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -143,10 +143,11 @@ define(['jquery', 'core/ajax', 'core/notification', 'core/custom_interaction_eve
}
}.bind(this));
this.root.on(CustomEvents.events.activate, SELECTORS.PROCESSOR_SETTING, function(e) {
this.root.on(CustomEvents.events.activate, SELECTORS.PROCESSOR_SETTING, function(e, data) {
var element = $(e.target).closest(SELECTORS.PROCESSOR_SETTING);
var processorSettings = new NotificationProcessorSettings(element);
processorSettings.show();
data.originalEvent.preventDefault();
});
CustomEvents.define(disabledNotificationsElement, [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment