OPPG-566: Fixed questionset compability bug.

pull/1/head
Frode Petterson 2013-09-10 11:25:45 +02:00
parent 2404a2fb87
commit 1f63d523a1
2 changed files with 2 additions and 1 deletions

View File

@ -302,6 +302,7 @@ H5P.QuestionSet = function (options, contentId) {
var question = questionInstances[i];
question.attach($('.question-container:eq(' + i + ')', $myDom));
question.$solutionButton.hide();
$(question).on('h5pQuestionAnswered', function () {
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
_updateButtons();

View File

@ -3,7 +3,7 @@
"contentType": "question",
"majorVersion": 1,
"minorVersion": 0,
"patchVersion": 23,
"patchVersion": 24,
"runnable": 1,
"fullscreen": 1,
"machineName": "H5P.QuestionSet",