diff --git a/composer.json b/composer.json index 0cbfa8a..f2c9685 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "oat-sa/oatbox-extension-installer": "~1.1||dev-master", "oat-sa/generis" : ">=15.22", - "oat-sa/tao-core" : ">=50.24.6", + "oat-sa/tao-core" : ">=54.0.0", "oat-sa/extension-tao-item" : ">=11.11.2", "oat-sa/extension-tao-itemqti" : ">=28.22.0", "oat-sa/extension-tao-testqti" : ">=47.2.3", diff --git a/views/js/previewer/proxy/item.js b/views/js/previewer/proxy/item.js index 93e0923..8b3d24b 100644 --- a/views/js/previewer/proxy/item.js +++ b/views/js/previewer/proxy/item.js @@ -58,7 +58,7 @@ define([ if (_.isPlainObject(actionParams)) { return _.mapValues(actionParams, (value, key) => { - if (_.contains(stringifyParams, key)) { + if (_.includes(stringifyParams, key)) { return JSON.stringify(value); } return value;