Skip to content

Commit

Permalink
Merge branch 'MDL-57480-master' of https://github.com/snake/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jan 10, 2017
2 parents b06f33d + 865c4f5 commit 38425d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions course/dndupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,10 @@ M.course_dndupload = {
resel.li.outerHTML = unescape(resel.li.outerHTML);
}
self.add_editing(result.elementid);
// Fire the content updated event.
require(['core/event', 'jquery'], function(event, $) {
event.notifyFilterContentUpdated($(result.fullcontent));
});
} else {
// Error - remove the dummy element
resel.parent.removeChild(resel.li);
Expand Down

0 comments on commit 38425d9

Please sign in to comment.