Merge branch 'MDL-58464-int-fix-2' of git://github.com/ryanwyllie/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 18 Apr 2017 08:03:58 +0000 (09:03 +0100)
committerDan Poltawski <dan@moodle.com>
Tue, 18 Apr 2017 08:03:58 +0000 (09:03 +0100)
blocks/myoverview/templates/timeline-view-courses.mustache

index 26f0667..2f0d72a 100644 (file)
@@ -71,7 +71,7 @@
         CustomEvents.define(root, [CustomEvents.events.activate]);
         // Show more courses and load their events when the user clicks the "more courses"
         // button.
-        root.on(CustomEvents.events.activate, '[data-action="more-courses"]', function(e) {
+        root.on(CustomEvents.events.activate, '[data-action="more-courses"]', function(e, data) {
             var button = $(e.target);
             var blocks = root.find('[data-region="course-block"].hidden');