Added functionality for resizing Question Set if it is too small for confirmation dialog.
HFJ-1572pull/4/head
parent
d441f67b70
commit
e90ef1f831
|
@ -140,6 +140,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;
|
||||||
|
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});
|
||||||
questionInstance.on('resize', function () {
|
questionInstance.on('resize', function () {
|
||||||
|
|
Loading…
Reference in New Issue