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

Merge branch 'fix/error_content_is_true' into 'master'

修复应用打开时this.content赋值错误问题

See merge request o2oa/o2oa!2493
......@@ -250,7 +250,7 @@ MWF.xApplication.Common.Main = new Class({
this.window.titleText.set("text", this.options.title);
} catch (e) { }
if (content && O2.typeOf(content)==="element") this.window.content = content;
if (content && o2.typeOf(content)==="element") this.window.content = content;
if (!this.window.content) this.window.content = $("appContent") || $("layout");
if (!this.window.content) {
this.window.content = new Element("div", {"styles": {"width": 0, "height": 0}}).inject(document.body);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册