Skip to content

Commit

Permalink
Merge branch 'release-12.41.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 1, 2024
2 parents 4652de8 + 489053b commit fa7961c
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"oat-sa/oatbox-extension-installer": "~1.1||dev-master",
"oat-sa/lib-generis-search": "^2.1.2",
"oat-sa/generis": ">=15.24",
"oat-sa/tao-core": ">=53.12",
"oat-sa/tao-core": ">=54.0.0",
"oat-sa/extension-tao-item": ">=v12.1.0",
"oat-sa/extension-tao-itemqti": ">=29.14.5",
"oat-sa/extension-tao-test": ">=15.16",
Expand Down
2 changes: 1 addition & 1 deletion views/js/loader/taoMediaManager.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/js/loader/taoMediaManager.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions views/js/qtiCreator/editor/ckEditor/htmlEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ define([
options = options || {};

//re-init all widgets:
_.each(_.values(container.elements), function (elt) {
_.forEach(_.values(container.elements), function (elt) {
const widget = elt.data('widget'),
currentState = widget.getCurrentState().name;

Expand Down Expand Up @@ -387,7 +387,7 @@ define([
const deleted = [];
const container = $container.data('qti-container');

_.each(widgets, function (w) {
_.forEach(widgets, function (w) {
if (!w.element.data('removed')) {
const $widget = _findWidgetContainer($container, w.serial);
if (!$widget.length) {
Expand All @@ -402,7 +402,7 @@ define([

$messageBox
.on('confirm.deleting', function () {
_.each(deleted, function (w) {
_.forEach(deleted, function (w) {
w.element.remove();
w.destroy();
});
Expand Down
2 changes: 1 addition & 1 deletion views/js/qtiCreator/editor/containerEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ define([
container.setRootElement(item);

if (options.metadata) {
_.each(options.metadata, function (value, name) {
_.forEach(options.metadata, function (value, name) {
item.data(name, value);
});
}
Expand Down
2 changes: 1 addition & 1 deletion views/js/qtiCreator/editor/styleEditor/fontSizeChanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ define(['jquery', 'lodash', 'taoMediaManager/qtiCreator/editor/styleEditor/style
if (c === 13) {
$input.trigger('blur');
}
return _.contains([8, 37, 39, 46], c) || (c >= 48 && c <= 57) || (c >= 96 && c <= 105);
return _.includes([8, 37, 39, 46], c) || (c >= 48 && c <= 57) || (c >= 96 && c <= 105);
});

/**
Expand Down
2 changes: 1 addition & 1 deletion views/js/qtiCreator/widgets/helpers/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ define([

creatorRenderer.get().load(function(){

_.each(newElts, function(serial) {
_.forEach(newElts, function(serial) {
let $placeholder,
$widget,
widget;
Expand Down
4 changes: 2 additions & 2 deletions views/js/qtiCreator/widgets/item/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ define([
const _detachElements = function(container, elements) {

const containerElements = {};
_.each(elements, function(elementSerial){
_.forEach(elements, function(elementSerial){
containerElements[elementSerial] = container.elements[elementSerial];
delete container.elements[elementSerial];
});
Expand Down Expand Up @@ -317,7 +317,7 @@ define([

} else {

_.each(newElts, function(container){
_.forEach(newElts, function(container){

const containerData = subContainers.shift();//get data in order
const containerElements = _detachElements(itemBody, containerData.elements);
Expand Down

0 comments on commit fa7961c

Please sign in to comment.