MDL-74602 mod_assign: fix js error with assign grader on classic
This commit is contained in:
@@ -4756,10 +4756,10 @@ class assign {
|
||||
// Need submit permission to submit an assignment.
|
||||
$this->require_view_grades();
|
||||
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
$PAGE->set_pagelayout('embedded');
|
||||
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
$courseshortname = $this->get_context()->get_course_context()->get_context_name(false, true);
|
||||
$args = [
|
||||
'contextname' => $this->get_context()->get_context_name(false, true),
|
||||
|
||||
Reference in New Issue
Block a user