Merge branch 'MDL-56095-master-fix' of git://github.com/cameron1729/moodle
This commit is contained in:
@@ -1322,8 +1322,9 @@ function updateProgressBar(id, percent, msg, estimate) {
|
||||
if (!(exception instanceof TypeError)) {
|
||||
throw exception;
|
||||
}
|
||||
event = document.createEvent('Event');
|
||||
event = document.createEvent('CustomEvent');
|
||||
event.initCustomEvent('update', false, true, eventData);
|
||||
event.prototype = window.Event.prototype;
|
||||
}
|
||||
|
||||
el.dispatchEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user