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

支持主流框架,一些路径解析修改

上级 3887a708
...@@ -13,7 +13,7 @@ o2.widget.Common = new Class({ ...@@ -13,7 +13,7 @@ o2.widget.Common = new Class({
}else{ }else{
this.cssPath = (this.cssPath.indexOf("?")!=-1) ? this.cssPath+"&v="+o2.version.v : this.cssPath+"?v="+o2.version.v; this.cssPath = (this.cssPath.indexOf("?")!=-1) ? this.cssPath+"&v="+o2.version.v : this.cssPath+"?v="+o2.version.v;
var r = new Request.JSON({ var r = new Request.JSON({
url: this.cssPath, url: o2.filterUrl(this.cssPath),
secure: false, secure: false,
async: false, async: false,
method: "get", method: "get",
......
...@@ -77,7 +77,7 @@ MWF.xApplication.Template.MPopupForm = MPopupForm = new Class({ ...@@ -77,7 +77,7 @@ MWF.xApplication.Template.MPopupForm = MPopupForm = new Class({
_loadCss: function(){ _loadCss: function(){
var css = {}; var css = {};
var r = new Request.JSON({ var r = new Request.JSON({
url: this.cssPath, url: o2.filterUrl(this.cssPath),
secure: false, secure: false,
async: false, async: false,
method: "get", method: "get",
......
...@@ -45,7 +45,7 @@ MWF.xApplication.Template.widget.ColorPicker = new Class({ ...@@ -45,7 +45,7 @@ MWF.xApplication.Template.widget.ColorPicker = new Class({
}else{ }else{
this.cssPath = (this.cssPath.indexOf("?")!=-1) ? this.cssPath+"&v="+COMMON.version : this.cssPath+"?v="+COMMON.version; this.cssPath = (this.cssPath.indexOf("?")!=-1) ? this.cssPath+"&v="+COMMON.version : this.cssPath+"?v="+COMMON.version;
var r = new Request.JSON({ var r = new Request.JSON({
url: this.cssPath, url: o2.filterUrl(this.cssPath),
secure: false, secure: false,
async: false, async: false,
method: "get", method: "get",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册