MDL-26948 quiz navigation fake block should have an id to allow styling.
This commit is contained in:
@@ -971,7 +971,7 @@ class quiz_attempt {
|
||||
$panel = new $panelclass($this, $this->get_display_options(true), $page, $showall);
|
||||
|
||||
$bc = new block_contents();
|
||||
$bc->id = 'quiznavigation';
|
||||
$bc->attributes['id'] = 'mod_quiz_navblock';
|
||||
$bc->title = get_string('quiznavigation', 'quiz');
|
||||
$bc->content = $output->navigation_panel($panel);
|
||||
return $bc;
|
||||
|
||||
Reference in New Issue
Block a user