提交 693adeec 编写于 作者: 蔡祥熠

Merge branch 'feature/Process.resetRange_add_script' into 'develop'

Merge of feature/Process.resetRange_add_script to develop

See merge request o2oa/o2oa!1309
......@@ -534,7 +534,7 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
//}.bind(this));
this.validationMode();
this.fireEvent("addLine");
this.fireEvent("addLine", [this.table]);
},
_cancelLineEdit : function(e){
var datagrid = this;
......@@ -717,7 +717,7 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
this._loadDatagridStyle();
this.validationMode();
this.fireEvent("completeLineEdit");
this.fireEvent("completeLineEdit", [table]);
this.addAction.set("text", MWF.xApplication.process.Xform.LP.addLine);
this.addAction.removeEvents("click");
......
......@@ -492,7 +492,7 @@ MWF.xApplication.process.Xform.DatagridPC = new Class({
this.getData();
this.validationMode();
this.fireEvent("completeLineEdit");
this.fireEvent("completeLineEdit", [newTr]);
return true;
},
......@@ -539,7 +539,7 @@ MWF.xApplication.process.Xform.DatagridPC = new Class({
}
this.isEdit =true;
this.validationMode();
this.fireEvent("addLine");
this.fireEvent("addLine",[this.editorTr]);
// newTr.addEvent("blur", function(e){
// this._completeLineEdit();
// }.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册