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

Merge branch 'fix/print_doc_load' into 'wrdp'

修复正文编辑器模板格式错误

See merge request o2oa/o2oa!4537
......@@ -1456,7 +1456,8 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
// }
// return this.fullWidthFlagNode;
// },
_printDoc: function(){
_printDoc: function(e,el){
e.disable();
var scale = this.scale;
this.toWord(function(data, filename){
if (filename){
......@@ -1469,6 +1470,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
}
}
this.scaleTo(scale);
e.enable();
}.bind(this), "", null, true);
},
_historyDoc: function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册