Преглед изворни кода

Merge branch 'fix/datagrid_export' into 'wrdp'

Merge of fix/datagrid_export 修复数据网格的问题 to wrdp

See merge request o2oa/o2oa!3016
蔡祥熠 пре 4 година
родитељ
комит
0bc9a72c49
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      o2web/source/x_component_process_Xform/DatagridPC.js

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

@@ -1866,7 +1866,11 @@ MWF.xApplication.process.Xform.DatagridPC = new Class(
 								text = module.node.get("text");
 							}
 
-							array.push(text || "");
+							if( !text && typeOf(text) !== "number" ){
+								text = "";
+							}
+
+							array.push( text );
 						}