Skip to content

Commit

Permalink
Fixed Edit Buttons Disappearing #169
Browse files Browse the repository at this point in the history
  • Loading branch information
davidherney committed May 9, 2024
1 parent ef91f15 commit e6758ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2022081610; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2022081610.01; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022041902; // Requires this Moodle version.
$plugin->component = 'format_onetopic'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit e6758ef

Please sign in to comment.