Experiment with bubble system

pull/1/head
Svein-Tore Griff With 2015-03-21 16:48:32 +01:00
parent fffe9d318e
commit ab00c5cc94
3 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) {
enableSolutionsButton: params.override.overrideShowSolutionButton
});
}
var questionInstance = H5P.newRunnable(question, contentId);
var questionInstance = H5P.newRunnable(question, contentId, null, null, self);
questionInstances.push(questionInstance);
questionInstance.on('resize', function() {
self.trigger('resize');

View File

@ -2,8 +2,8 @@
"title": "Question set",
"contentType": "question",
"majorVersion": 1,
"minorVersion": 2,
"patchVersion": 0,
"minorVersion": 3,
"patchVersion": 1,
"embedTypes": [
"iframe"
],

View File

@ -110,7 +110,7 @@
"label": "Question type",
"description": "Library for this question.",
"options": [
"H5P.MultiChoice 1.2",
"H5P.MultiChoice 1.3",
"H5P.DragQuestion 1.2",
"H5P.Blanks 1.2",
"H5P.MarkTheWords 1.2",