Showing
1 changed file
with
9 additions
and
0 deletions
@@ -141,6 +141,15 @@ | @@ -141,6 +141,15 @@ | ||
141 | } | 141 | } |
142 | }); | 142 | }); |
143 | 143 | ||
144 | + UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; | ||
145 | + UE.Editor.prototype.getActionUrl = function(action) { | ||
146 | + if (action == 'uploadimage' || action == 'uploadfile') { | ||
147 | + return serverContextPath + "/fileupload/uploadFile4Editor.do?bucket=grassImg"; | ||
148 | + } else { | ||
149 | + return this._bkGetActionUrl.call(this, action); | ||
150 | + } | ||
151 | + }; | ||
152 | + | ||
144 | // 检索按钮 | 153 | // 检索按钮 |
145 | $("#searchBtn1").linkbutton({ | 154 | $("#searchBtn1").linkbutton({ |
146 | iconCls : "icon-search", | 155 | iconCls : "icon-search", |
-
Please register or login to post a comment