Permalink
Browse files

Merge branch 'MDL-58699-32' of git://github.com/damyon/moodle into MO…

…ODLE_32_STABLE
  • Loading branch information...
dmonllao committed Nov 8, 2017
2 parents 4126e44 + c1d666c commit ab05a777b8bfca946783abcb01167333f775a435
Showing with 7 additions and 2 deletions.
  1. +3 −0 mod/quiz/renderer.php
  2. +4 −2 mod/quiz/styles.css
@@ -839,6 +839,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 ab05a77

Please sign in to comment.