commit
6e30c19e1c
|
@ -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);
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue