Merge pull request #2 from garemoko/patch-1

Report quiz set success
pull/3/head
Svein-Tore Griff With 2015-11-01 00:24:15 +01:00
commit cbf3cb25c4
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ H5P.QuestionSet = function (options, contentId) {
passed: success passed: success
}; };
var displayResults = function () { var displayResults = function () {
self.triggerXAPICompleted(self.getScore(), self.totalScore()); self.triggerXAPICompleted(self.getScore(), self.totalScore(), success);
if (!params.endGame.showResultPage) { if (!params.endGame.showResultPage) {
self.trigger('h5pQuestionSetFinished', eventData); self.trigger('h5pQuestionSetFinished', eventData);