Question set minor version has been bumped twice, correct this

pull/1/head
Svein-Tore Griff With 2015-04-14 13:56:32 +02:00
parent d43fa38f29
commit 3cc6337c81
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -3,7 +3,7 @@ var H5PUpgrades = H5PUpgrades || {};
H5PUpgrades['H5P.QuestionSet'] = (function ($) { H5PUpgrades['H5P.QuestionSet'] = (function ($) {
return { return {
1: { 1: {
4: function (parameters, finished) { 3: function (parameters, finished) {
for (var i = 0; i < parameters.questions.length; i++) { for (var i = 0; i < parameters.questions.length; i++) {
if (parameters.questions[i].subContentId === undefined) { if (parameters.questions[i].subContentId === undefined) {
// NOTE: We avoid using H5P.createUUID since this is an upgrade script and H5P function may change in the // NOTE: We avoid using H5P.createUUID since this is an upgrade script and H5P function may change in the