Permalink
Browse files

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

…ODLE_33_STABLE
  • Loading branch information...
dmonllao committed Nov 8, 2017
2 parents a43556a + d2d3a57 commit f47f92c0b15090247937a483fab62a5ffb4fdd2e
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 f47f92c

Please sign in to comment.