Skip to content

Commit

Permalink
amd sectionlistener
Browse files Browse the repository at this point in the history
  • Loading branch information
ewallah committed Jul 27, 2020
1 parent 5320e1d commit 2a497e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- php: 7.2
env: DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
- env: DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
- env: DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
- php: 7.4
env: DB=pgsql MOODLE_BRANCH=master

Expand Down
2 changes: 1 addition & 1 deletion format.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

if ($PAGE->user_is_editing()) {
// Rely on the standard topics rendering.
// $PAGE->requires->js_call_amd('core_course/sectionlistener');
$PAGE->requires->js_call_amd('core_course/sectionlistener');
$PAGE->requires->js('/course/format/topics/format.js');
$renderer = $PAGE->get_renderer('format_topics');
} else {
Expand Down

0 comments on commit 2a497e4

Please sign in to comment.