parent
587f488276
commit
da540afb82
|
@ -250,9 +250,8 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
.replace('@total', questionInstances.length.toString());
|
.replace('@total', questionInstances.length.toString());
|
||||||
|
|
||||||
$('.qs-progress-announcer', $myDom)
|
$('.qs-progress-announcer', $myDom)
|
||||||
.show()
|
|
||||||
.html(humanizedProgress)
|
.html(humanizedProgress)
|
||||||
.focus();
|
.show().focus();
|
||||||
|
|
||||||
if (instance && instance.readFeedback) {
|
if (instance && instance.readFeedback) {
|
||||||
instance.readFeedback();
|
instance.readFeedback();
|
||||||
|
@ -467,6 +466,16 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
||||||
scoreBar.setScore(finals);
|
scoreBar.setScore(finals);
|
||||||
$('.feedback-text', $myDom).html(scoreString);
|
$('.feedback-text', $myDom).html(scoreString);
|
||||||
|
|
||||||
|
// Announce that the question set is complete
|
||||||
|
setTimeout(function () {
|
||||||
|
$('.qs-progress-announcer', $myDom)
|
||||||
|
.html(eparams.message + '.' +
|
||||||
|
scoreString + '.' +
|
||||||
|
eparams.comment + '.' +
|
||||||
|
eparams.resulttext)
|
||||||
|
.show().focus();
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Remove buttons and feedback section
|
// Remove buttons and feedback section
|
||||||
|
|
Loading…
Reference in New Issue