From 222a82486399bd31356a4d8cbb360b37e7bf627e Mon Sep 17 00:00:00 2001 From: Stefan Hanauska Date: Tue, 20 Feb 2024 18:56:06 +0100 Subject: [PATCH] MBS-8819: Show action menu when loading course modules via ajax --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 7526eb7..d5f29b7 100644 --- a/lib.php +++ b/lib.php @@ -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)) {