Parcourir la source

Merge branch 'fix/error_content_is_true' into 'master'

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

See merge request o2oa/o2oa!2493

(cherry picked from commit 39f301625d61e40513e3903d4a4a81d7a6545010)

8b16ab1f 修复应用打开时this.content赋值错误问题
胡起 il y a 5 ans
Parent
commit
2a73579abf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      o2web/source/x_component_Common/Main.js

+ 1 - 1
o2web/source/x_component_Common/Main.js

@@ -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);