Commit 87f67ecc authored by Jake Dallimore's avatar Jake Dallimore
Browse files

Merge branch 'MDL-69135-37' of git://github.com/andrewnicols/moodle into MOODLE_37_STABLE

parents 0442cf99 be58ae75
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -64,6 +64,7 @@ function(
// Toggle the hidden. We need to render the template before we change the value.
data.hidden = !data.hidden;
M.util.js_pending("core_calendar/calendar_filter:toggleFilter");
return Str.get_string('eventtype' + data.eventtype, 'calendar')
.then(function(nameStr) {
data.name = nameStr;
......@@ -81,6 +82,7 @@ function(
})
.then(function() {
fireFilterChangedEvent(data);
M.util.js_complete("core_calendar/calendar_filter:toggleFilter");
return;
});
};
......
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