Skip to content

Commit

Permalink
Merge branch 'HFP-574-remove-override-settings'
Browse files Browse the repository at this point in the history
  • Loading branch information
icc committed Jun 12, 2017
2 parents e7e83f4 + df11efd commit 0f383f7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/questionset.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand All @@ -286,7 +283,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
}

return result;
}
};

// Create question instances from questions given by params
questionInstances = createQuestionInstancesFromQuestions(params.questions);
Expand Down

0 comments on commit 0f383f7

Please sign in to comment.