Skip to content

Commit

Permalink
CTP-3690 alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
watson8 committed Sep 9, 2024
1 parent 058524a commit bd5b82b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions actions/allocate.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@
$jsmodule = [
'name' => 'mod_coursework',
'fullpath' => '/mod/coursework/module.js',
'requires' => ['base',
'node-base'],
'requires' => ['base', 'node-base'],
];
$PAGE->requires->js_init_call('M.mod_coursework.init_allocate_page',
['wwwroot' => $CFG->wwwroot, 'coursemoduleid' => $coursemoduleid],
false,
$jsmodule);
$PAGE->requires->js_init_call(
'M.mod_coursework.init_allocate_page',
['wwwroot' => $CFG->wwwroot, 'coursemoduleid' => $coursemoduleid],
false,
$jsmodule
);

$PAGE->requires->string_for_js('sameassessorerror', 'coursework');

Expand Down

0 comments on commit bd5b82b

Please sign in to comment.