Просмотр исходного кода

修复数据网格正在编辑的时候setData可能异常的问题

unknown 5 лет назад
Родитель
Сommit
8c4611fb98

+ 0 - 5
o2web/source/x_component_process_Xform/DatagridMobile.js

@@ -583,9 +583,6 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
         }, null, null, this.form.json.confirmStyle);
     },
     _completeLineEdit: function( ev ){
-
-	    debugger;
-
         if (!this.editValidation()){
             return false;
         }
@@ -852,8 +849,6 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
                 datagrid._loadTotal();
                 datagrid.getData();
 
-                debugger;
-
                 if (!_self.gridData.data.length){
                     if (_self.addAction){
                         _self.addAction.setStyle("display", "block");

+ 0 - 2
o2web/source/x_component_process_Xform/DatagridPC.js

@@ -946,8 +946,6 @@ MWF.xApplication.process.Xform.DatagridPC = new Class({
             this.gridData = this._getValue();
         }
 
-		debugger;
-
         // if (this.isEdit) this._completeLineEdit();
 		if( this.isEdit ){ //如果有在编辑的,取消编辑行
 			if (this.currentEditLine) {