Skip to content

Commit

Permalink
Merge pull request #171 from sh-csg/MBS-8819-Show-action-menu
Browse files Browse the repository at this point in the history
MBS-8819: Show action menu when loading course modules via ajax
  • Loading branch information
davidherney committed May 9, 2024
2 parents 60d658a + 222a824 commit 126a88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected function __construct($format, $courseid) {
$scope = [];
}

$pagesavailable = ['course-view-onetopic', 'course-view'];
$pagesavailable = ['course-view-onetopic', 'course-view', 'lib-ajax-service'];

if (!in_array($PAGE->pagetype, $pagesavailable)) {

Expand Down

0 comments on commit 126a88f

Please sign in to comment.