Question set minor version has been bumped twice, correct this
parent
d43fa38f29
commit
3cc6337c81
|
@ -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"
|
||||||
],
|
],
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue