quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.
And MDL-17568 minor niggles with new queston navigation: * The bit that scrolls down to the question you just submitted in adaptive mode was not working with random questions. * Teachers reviewing an open attempt were shown the qusetions as editable, not read only!
This commit is contained in:
@@ -189,6 +189,7 @@
|
||||
|
||||
// TODO: should not use quiz-specific function here
|
||||
$options = quiz_get_renderoptions($quiz, $attempt, $context, $curstate);
|
||||
$options->noeditlink = true;
|
||||
|
||||
// Fill in the correct responses (unless the question is in readonly mode)
|
||||
if ($fillcorrect && !$options->readonly) {
|
||||
|
||||
Reference in New Issue
Block a user