From 3cc6337c81c9ca1ee2a4b8bc87a0c78d4488580c Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Tue, 14 Apr 2015 13:56:32 +0200 Subject: [PATCH] Question set minor version has been bumped twice, correct this --- library.json | 4 ++-- upgrades.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library.json b/library.json index a77299f..82719bf 100644 --- a/library.json +++ b/library.json @@ -2,8 +2,8 @@ "title": "Question set", "contentType": "question", "majorVersion": 1, - "minorVersion": 4, - "patchVersion": 0, + "minorVersion": 3, + "patchVersion": 2, "embedTypes": [ "iframe" ], diff --git a/upgrades.js b/upgrades.js index f5f811c..77c5add 100644 --- a/upgrades.js +++ b/upgrades.js @@ -3,7 +3,7 @@ var H5PUpgrades = H5PUpgrades || {}; H5PUpgrades['H5P.QuestionSet'] = (function ($) { return { 1: { - 4: function (parameters, finished) { + 3: function (parameters, finished) { for (var i = 0; i < parameters.questions.length; i++) { 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