提交 d08f8d7a 编写于 作者: 蔡祥熠

Merge branch 'fix/checkbox' into 'develop'

Merge of fix/checkbox 表单的单选组件和复选组件change事件加this.event指向触发的dom对象 to develop

See merge request o2oa/o2oa!1325
......@@ -253,7 +253,7 @@ MWF.xApplication.process.Xform.Checkbox = MWF.APPCheckbox = new Class(
this._setBusinessData(v || []);
//this._setEnvironmentData(v || []);
//this._setBusinessData(this.getInputData("change") || []);
this.fireEvent("change");
this.fireEvent("change", [radio]);
}
}.bind(this));
......
......@@ -234,7 +234,7 @@ MWF.xApplication.process.Xform.Radio = MWF.APPRadio = new Class(
this.validationMode();
if (this.validation()) {
this._setBusinessData(this.getInputData("change"));
this.fireEvent("change");
this.fireEvent("change", [radio]);
}
}.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册