Permalink
Browse files

Merge branch 'MDL-58699-master' of git://github.com/damyon/moodle

  • Loading branch information...
dmonllao committed Nov 8, 2017
2 parents 4e73acf + 65c52e0 commit 29adfbc3c80a774772bf4d91eee988c0d4c9e675
Showing with 7 additions and 2 deletions.
  1. +3 −0 mod/quiz/renderer.php
  2. +4 −2 mod/quiz/styles.css
@@ -840,6 +840,9 @@ public function start_attempt_button($buttontext, moodle_url $url,
$button = new single_button($url, $buttontext);
$button->class .= ' quizstartbuttondiv';
if ($popuprequired) {
$button->class .= ' quizsecuremoderequired';
}
$popupjsoptions = null;
if ($popuprequired && $popupoptions) {
@@ -360,11 +360,13 @@ table.quizattemptsummary .noreviewmessage {
font-size: 0.7em;
}
.quizstartbuttondiv.quizsecuremoderequired input {
.quizstartbuttondiv.quizsecuremoderequired input,
.quizstartbuttondiv.quizsecuremoderequired button {
display: none;
}
.jsenabled .quizstartbuttondiv.quizsecuremoderequired input {
.jsenabled .quizstartbuttondiv.quizsecuremoderequired input,
.jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
display: inline;
}

0 comments on commit 29adfbc

Please sign in to comment.