提交 1cd110df 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/draft_openwork' into 'wrdp'

修复草稿模式新建打开表单错误

See merge request o2oa/o2oa!2415
...@@ -685,8 +685,8 @@ MWF.xApplication.process.Work.Main = new Class({ ...@@ -685,8 +685,8 @@ MWF.xApplication.process.Work.Main = new Class({
this.formNode.setStyles(this.css.formNode); this.formNode.setStyles(this.css.formNode);
var uri = window.location.href; var uri = window.location.href;
//var cl = (uri.indexOf("$all")!=-1) ? "$all" : "Form"; //var cl = (uri.indexOf("$all")!=-1) ? "$all" : "Form";
// var cl = "$all"; var cl = "$all";
// MWF.xDesktop.requireApp("process.Xform", cl, function(){ MWF.xDesktop.requireApp("process.Xform", cl, function(){
//MWF.xDesktop.requireApp("process.Xform", "Form", function(){ //MWF.xDesktop.requireApp("process.Xform", "Form", function(){
this.appForm = new MWF.APPForm(this.formNode, this.form, {}); this.appForm = new MWF.APPForm(this.formNode, this.form, {});
this.appForm.businessData = { this.appForm.businessData = {
...@@ -735,7 +735,7 @@ MWF.xApplication.process.Work.Main = new Class({ ...@@ -735,7 +735,7 @@ MWF.xApplication.process.Work.Main = new Class({
} }
this.fireEvent("postLoadForm"); this.fireEvent("postLoadForm");
}.bind(this)); }.bind(this));
//}.bind(this)); }.bind(this));
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册