Merge branch 'HFP-574-remove-override-settings'

pull/12/head
Frode Petterson 2017-06-12 13:50:15 +02:00
commit 0f383f775f
1 changed files with 1 additions and 4 deletions

View File

@ -269,9 +269,6 @@ H5P.QuestionSet = function (options, contentId, contentData) {
}
question.params = question.params || {};
question.params.overrideSettings = question.params.overrideSettings || {};
question.params.overrideSettings.$confirmationDialogParent = $template.last();
question.params.overrideSettings.instance = this;
var hasAnswers = contentData.previousState && contentData.previousState.answers;
var questionInstance = H5P.newRunnable(question, contentId, undefined, undefined,
{
@ -286,7 +283,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
}
return result;
}
};
// Create question instances from questions given by params
questionInstances = createQuestionInstancesFromQuestions(params.questions);