unknown 4 лет назад
Родитель
Сommit
604181a957
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      o2web/source/x_component_process_Xform/DatagridPC.js

+ 3 - 1
o2web/source/x_component_process_Xform/DatagridPC.js

@@ -716,6 +716,8 @@ MWF.xApplication.process.Xform.DatagridPC = new Class(
 								this._createNewEditTd(newTr, idx, editorTds[idx].get("id"), text, titleThs.length-1);
 							}
 						}
+					}else{
+						if (!cell) this._createNewEditTd(newTr, idx, id, "", titleThs.length-1);
 					}
 				}else{
 					if (!cell) this._createNewEditTd(newTr, idx, id, "", titleThs.length-1);
@@ -1864,7 +1866,7 @@ MWF.xApplication.process.Xform.DatagridPC = new Class(
 								text = module.node.get("text");
 							}
 
-							array.push(text);
+							array.push(text || "");
 						}