Fix confirm dialog when intro is present

HFJ-1929
pull/5/head
Frode Petterson 2016-05-23 10:16:46 +02:00
parent 9380a9ea98
commit 1a36c88e66
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ H5P.QuestionSet = function (options, contentId) {
question.params = question.params || {}; question.params = question.params || {};
question.params.overrideSettings = question.params.overrideSettings || {}; question.params.overrideSettings = question.params.overrideSettings || {};
question.params.overrideSettings.$confirmationDialogParent = $template; question.params.overrideSettings.$confirmationDialogParent = $template.last();
question.params.overrideSettings.instance = this; question.params.overrideSettings.instance = this;
var questionInstance = H5P.newRunnable(question, contentId, undefined, undefined, {parent: self}); var questionInstance = H5P.newRunnable(question, contentId, undefined, undefined, {parent: self});