Skip to content

Commit

Permalink
MDL-69966 quiz: start attempt button should be a primary button
Browse files Browse the repository at this point in the history
  • Loading branch information
danielneis committed Jan 17, 2022
1 parent 0e18847 commit 1346a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ public function start_attempt_button($buttontext, moodle_url $url,
'quiz_access_manager::get_preflight_check_form, not a warning message string.');
}

$button = new single_button($url, $buttontext);
$button = new single_button($url, $buttontext, 'post', true);
$button->class .= ' quizstartbuttondiv';
if ($popuprequired) {
$button->class .= ' quizsecuremoderequired';
Expand Down

0 comments on commit 1346a35

Please sign in to comment.