fix list width

This commit is contained in:
yuri
2016-11-29 12:00:13 +02:00
parent eeaaaf7af1
commit 434506699b
+2 -2
View File
@@ -662,8 +662,8 @@ Espo.define('views/record/list', 'view', function (Dep) {
for (var i in this.listLayout) {
var width = false;
if ('width' in this.listLayout[i]) {
width = this.listLayout[i].width + '%';
if ('width' in this.listLayout[i] && this.listLayout[i].width !== null) {
width = this.listLayout[i].width + '%';
} else if ('widthPx' in this.listLayout[i]) {
width = this.listLayout[i].widthPx;
}