Skip to content

Commit

Permalink
MDL-47972 mod_quiz: Fix new quiz on themes based on base.
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Chambers authored and timhunt committed Oct 30, 2014
1 parent ebbf039 commit 77dca4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/quiz/classes/output/edit_renderer.php
Expand Up @@ -432,6 +432,7 @@ public function add_menu_actions(structure $structure, $page, \moodle_url $pageu
}
$menu = new \action_menu();
$menu->set_alignment(\action_menu::TR, \action_menu::BR);
$menu->set_constraint('.mod-quiz-edit-content');
$trigger = html_writer::tag('span', get_string('add', 'quiz'), array('class' => 'add-menu'));
$menu->set_menu_trigger($trigger);

Expand Down
5 changes: 5 additions & 0 deletions mod/quiz/styles.css
Expand Up @@ -913,3 +913,8 @@ table#categoryquestions {
.questionbank .categoryselectallcontainer {
background-color: #FFF;
}

/* Base theme needs extra support. */
#page-mod-quiz-edit ul.slots li.section ul.section {
list-style: none;
}

0 comments on commit 77dca4d

Please sign in to comment.