MDL-26948 quiz navigation fake block should have an id to allow styling.

This commit is contained in:
Tim Hunt
2011-06-17 17:26:28 +01:00
parent d037c6bc3c
commit 83f93ec41f
+1 -1
View File
@@ -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;