From b3b93c594e9a203032ed007dbef9dc6025193a0e Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 27 Sep 2020 16:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=BB=BA=E8=84=91?= =?UTF-8?q?=E5=9B=BE=E4=BF=9D=E5=AD=98=E5=87=BA=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_MinderEditor/MainMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/o2web/source/x_component_MinderEditor/MainMenu.js b/o2web/source/x_component_MinderEditor/MainMenu.js index 809b797375..5a497d8088 100644 --- a/o2web/source/x_component_MinderEditor/MainMenu.js +++ b/o2web/source/x_component_MinderEditor/MainMenu.js @@ -385,10 +385,12 @@ MWF.xApplication.MinderEditor.MainMenu = new Class({ formData.append('file', img, title+".png"); formData.append('site', id); + debugger; + MWF.xDesktop.uploadImageByScale( id, "mindInfo", -1, formData, img, function(json){ var url = o2.Actions.load("x_file_assemble_control").FileAction.action.actions.downloadStream.uri.replace( "{id}", json.data.id ); - url = o2.filterUrl( o2.Actions.load("x_file_assemble_control").FileAction.action.address + url); + url = o2.filterUrl( o2.Actions.load("x_file_assemble_control").FileAction.action.getAddress() + url); window.open(url); }.bind(this) ); -- GitLab