Merge pull request #1526 from ONLYOFFICE/fix/fix-bugs

Fix/fix bugs
This commit is contained in:
Julia Radzhabova 2022-02-01 14:22:05 +03:00 committed by GitHub
commit 6e30c19e1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1442,7 +1442,7 @@ define([
var models = group.groupStore.models; var models = group.groupStore.models;
if (index > 0) { if (index > 0) {
for (var i = 0; i < models.length; i++) { for (var i = 0; i < models.length; i++) {
models.at(i).set({groupName: group.groupName}) models[i].set({groupName: group.groupName});
} }
} }
store.add(models); store.add(models);

View file

@ -112,7 +112,7 @@ define([
}, },
updateSize: function (size) { updateSize: function (size) {
this.thumbnailsSize = size * 100; this.thumbnailsSize = Math.min(size * 100, 100);
}, },
onChangeSize: function(field, newValue) { onChangeSize: function(field, newValue) {