提交 0d99477b 编写于 作者: 傻拖

修复多标签窗口打开错误问题

上级 857b4c2d
......@@ -178,7 +178,7 @@ MWF.xApplication.process.Xform.OnlyOffice = MWF.APPOnlyOffice = new Class({
if(layout.mobile){
this.document.editor.type = "mobile";
}
this.officeNode = new Element("div#officeNode", {
this.officeNode = new Element("div#_" + this.documentId, {
"styles": this.form.css.officeAreaNode
}).inject(this.node);
if (this.node.getSize().y<800) this.node.setStyle("height", "800px");
......@@ -230,7 +230,7 @@ MWF.xApplication.process.Xform.OnlyOffice = MWF.APPOnlyOffice = new Class({
"unit": this.json.unit,
"zoom": this.json.zoom
}
docEditor = new DocsAPI.DocEditor("officeNode", this.document.editor);
docEditor = new DocsAPI.DocEditor("_" + this.documentId, this.document.editor);
this.onlyOffice = docEditor;
},
hide: function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册