提交 f553c718 编写于 作者: U unknown

内容管理速度优化

上级 735c84da
......@@ -33,6 +33,7 @@ MWF.xApplication.cms.Document.Main = new Class({
this.options.formId = this.status.formId;
this.options.printFormId = this.status.printFormId;
}
if( this.options.readonly === "false" )this.options.readonly = false;
if( this.options.documentId && this.options.documentId!=""){
this.options.appId = "cms.Document"+this.options.documentId;
}
......
......@@ -34,10 +34,10 @@
<!--<script src="res/framework/htmleditor/ckeditor451/ckeditor.js"></script>-->
<script src="../o2_core/o2.min.js"></script>
<script src="../o2_lib/Decimal.js"></script>
<script src="js/base.min.js"></script>
<script src="js/base_document.min.js"></script>
<script src="js/o2m.api.js"></script>
<script src="js/cmsDocMobile.min.js"></script>
<script src="../o2_lib/Decimal.js"></script>
<script>layout.mobile = true;</script>
</body>
......
......@@ -7,6 +7,7 @@ layout.addReady(function () {
Cookie.write("x-token", options["x-token"]);
}
var _load = function () {
debugger;
this.options = uri.get("data");
if (!this.options.documentId) this.options.documentId = this.options.id;
this.options.name = "cms.Document";
......@@ -15,7 +16,6 @@ layout.addReady(function () {
layout.openApplication(null, "cms.Document", this.options, null);
};
debugger;
if (layout.session && layout.session.user){
_load();
}else{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册