Merge branch 'HFP-574-remove-override-settings'
commit
0f383f775f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue