zhuth 7 лет назад
Родитель
Сommit
c3a0c9ab02
1 измененных файлов с 6 добавлено и 4 удалено
  1. 6 4
      frontend/saas-web/app/util/FormUtil.js

+ 6 - 4
frontend/saas-web/app/util/FormUtil.js

@@ -113,10 +113,12 @@ Ext.define('saas.util.FormUtil', {
                                 }
                             });
 
-                            columns.push({
-                                flex: 1,
-                                allowBlank: true
-                            });
+                            if(columns[columns.length - 1].flex != 1) {
+                                columns.push({
+                                    flex: 1,
+                                    allowBlank: true
+                                });
+                            }
 
                             cnames.push(item.detnoColumn);