Quellcode durchsuchen

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

unknown vor 5 Jahren
Ursprung
Commit
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);
         }, null, null, this.form.json.confirmStyle);
     },
     },
     _completeLineEdit: function( ev ){
     _completeLineEdit: function( ev ){
-
-	    debugger;
-
         if (!this.editValidation()){
         if (!this.editValidation()){
             return false;
             return false;
         }
         }
@@ -852,8 +849,6 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
                 datagrid._loadTotal();
                 datagrid._loadTotal();
                 datagrid.getData();
                 datagrid.getData();
 
 
-                debugger;
-
                 if (!_self.gridData.data.length){
                 if (!_self.gridData.data.length){
                     if (_self.addAction){
                     if (_self.addAction){
                         _self.addAction.setStyle("display", "block");
                         _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();
             this.gridData = this._getValue();
         }
         }
 
 
-		debugger;
-
         // if (this.isEdit) this._completeLineEdit();
         // if (this.isEdit) this._completeLineEdit();
 		if( this.isEdit ){ //如果有在编辑的,取消编辑行
 		if( this.isEdit ){ //如果有在编辑的,取消编辑行
 			if (this.currentEditLine) {
 			if (this.currentEditLine) {