Skip to content

Commit

Permalink
Remove deprecated and unneeded reference to 'overrideSettings'. HFP-574
Browse files Browse the repository at this point in the history
  • Loading branch information
tajakobsen committed May 8, 2017
1 parent a3e2329 commit 45b00ff
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 @@ -265,9 +265,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 @@ -282,7 +279,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 45b00ff

Please sign in to comment.