MDL-74649 course: render scale information using page popup layout.

This commit is contained in:
Paul Holden 2022-05-04 17:40:34 +01:00
parent 5500d143f4
commit 3d7c732b36

View File

@ -35,6 +35,7 @@ if ($scaleid !== 0) {
$url->param('scaleid', $scaleid);
}
$PAGE->set_url($url);
$PAGE->set_pagelayout('popup');
$context = null;
if ($course = $DB->get_record('course', array('id'=>$id))) {