Skip to content

Commit

Permalink
quiz secure mode: MDL-22724 missing attempt quiz button if browser se…
Browse files Browse the repository at this point in the history
…curity is enable.

Thanks to Rossiani Wijaya for finding and fixing this.
  • Loading branch information
timhunt committed Jun 10, 2010
1 parent 85a7126 commit 6e8e524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/accessrules.php
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ public function print_start_attempt_button($buttontext, $strconfirmstartattempt)
$attempturl = $SESSION->sid_process_url($attempturl);
}

echo '<input id="quizstartbuttondiv" type="button" value="' .
echo '<input id="quizstartbutton" type="button" value="' .
s($buttontext) . '" style="display: none;" onclick="javascript:';
if ($strconfirmstartattempt) {
echo "if (confirm('" . addslashes_js($strconfirmstartattempt) . "')) ";
Expand Down

0 comments on commit 6e8e524

Please sign in to comment.