Permalink
Browse files

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

  • Loading branch information...
1 parent cc50a2f commit 6750bec6c9d34f9d1c11895a038030dbe79f8fa2 @timhunt timhunt committed Jun 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/attemptlib.php
View
@@ -1201,7 +1201,7 @@ public function get_contents() {
$content .= '<div class="othernav">' . "\n" . $this->get_end_bits() . "\n</div>\n";
$bc = new block_contents();
- $bc->id = 'quiznavigation';
+ $bc->attributes['id'] = 'mod_quiz_navblock';
$bc->title = get_string('quiznavigation', 'quiz');
$bc->content = $content;
return $bc;

0 comments on commit 6750bec

Please sign in to comment.