Skip to content

Commit

Permalink
MDL-61525 Groups: Index page error on first time visit
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Apr 1, 2018
1 parent 39fab18 commit c9e3070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions group/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
$context = context_course::instance($course->id);
require_capability('moodle/course:managegroups', $context);

$PAGE->requires->js('/group/clientlib.js');
$PAGE->requires->js('/group/module.js');
$PAGE->requires->js('/group/clientlib.js', true);
$PAGE->requires->js('/group/module.js', true);

// Check for multiple/no group errors
if (!$singlegroup) {
Expand Down

0 comments on commit c9e3070

Please sign in to comment.