MDL-48596 mod_lesson: editing interface won't expand to full screen
This commit is contained in:
@@ -43,6 +43,7 @@ $context = context_module::instance($cm->id);
|
||||
require_capability('mod/lesson:edit', $context);
|
||||
|
||||
$PAGE->set_url('/mod/lesson/editpage.php', array('pageid'=>$pageid, 'id'=>$id, 'qtype'=>$qtype));
|
||||
$PAGE->set_pagelayout('admin');
|
||||
|
||||
if ($edit) {
|
||||
$editpage = lesson_page::load($pageid, $lesson);
|
||||
|
||||
Reference in New Issue
Block a user