OPPG-566: Fixed questionset compability bug.
parent
2404a2fb87
commit
1f63d523a1
|
@ -302,6 +302,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
var question = questionInstances[i];
|
var question = questionInstances[i];
|
||||||
|
|
||||||
question.attach($('.question-container:eq(' + i + ')', $myDom));
|
question.attach($('.question-container:eq(' + i + ')', $myDom));
|
||||||
|
question.$solutionButton.hide();
|
||||||
$(question).on('h5pQuestionAnswered', function () {
|
$(question).on('h5pQuestionAnswered', function () {
|
||||||
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
|
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
|
||||||
_updateButtons();
|
_updateButtons();
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"contentType": "question",
|
"contentType": "question",
|
||||||
"majorVersion": 1,
|
"majorVersion": 1,
|
||||||
"minorVersion": 0,
|
"minorVersion": 0,
|
||||||
"patchVersion": 23,
|
"patchVersion": 24,
|
||||||
"runnable": 1,
|
"runnable": 1,
|
||||||
"fullscreen": 1,
|
"fullscreen": 1,
|
||||||
"machineName": "H5P.QuestionSet",
|
"machineName": "H5P.QuestionSet",
|
||||||
|
|
Loading…
Reference in New Issue