提交 1e0548e4 编写于 作者: U unknown

修复CMS预览报错的问题

上级 d2155d79
......@@ -30,11 +30,16 @@
if (layout.config.app_protocol=="auto"){
layout.config.app_protocol = window.location.protocol;
}
//MWF.defaultPath = "/x_desktop"+MWF.defaultPath;
MWF.loadLP(MWF.language);
MWF.require("MWF.widget.Common", null, false);
MWF.require("MWF.xDesktop.Common", null, false);
MWF.require("MWF.xAction.RestActions", null, false);
MWF.require("MWF.xDesktop.Layout", function(){
//MWF.require("MWF.xDesktop.Authentication", null, false);
MWF.require("MWF.xDesktop.Actions.RestActions", null, false);
(function(){
layout.load = function(){
// if (this.isAuthentication()){
......@@ -67,7 +72,12 @@
// }
};
layout.load();
// layout.load();
MWF.xDesktop.getServiceAddress(layout.config, function (service, center) {
layout.serviceAddressList = service;
layout.centerServer = center;
layout.load();
}.bind(this));
})();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册