Explorar o código

Merge branch 'git/fix_minder_save_execption' into 'develop'

Merge of git/fix_minder_save_execption 修复脑图导出图片问题 to develop

See merge request o2oa/o2oa!1730
蔡祥熠 %!s(int64=5) %!d(string=hai) anos
pai
achega
fb4a6b96b5
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      o2web/source/x_component_MinderEditor/MainMenu.js

+ 3 - 1
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('file', img, title+".png");
             formData.append('site', id);
             formData.append('site', id);
 
 
+            debugger;
+
             MWF.xDesktop.uploadImageByScale( id, "mindInfo", -1, formData, img,
             MWF.xDesktop.uploadImageByScale( id, "mindInfo", -1, formData, img,
                 function(json){
                 function(json){
                     var url = o2.Actions.load("x_file_assemble_control").FileAction.action.actions.downloadStream.uri.replace( "{id}", json.data.id );
                     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);
                     window.open(url);
                 }.bind(this)
                 }.bind(this)
             );
             );