From b850f774fbdef48c23791f1a09a86026f5d5efc6 Mon Sep 17 00:00:00 2001 From: Pablo Luna Date: Thu, 31 Mar 2011 15:16:45 +0100 Subject: [PATCH] removing svg from save operation --- mindplot/src/main/javascript/MindmapDesigner.js | 2 +- mindplot/src/main/javascript/PersistanceManager.js | 2 +- wise-webapp/src/main/webapp/jsp/embeddedViewImg.jsp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mindplot/src/main/javascript/MindmapDesigner.js b/mindplot/src/main/javascript/MindmapDesigner.js index f9d14362..8b89024e 100644 --- a/mindplot/src/main/javascript/MindmapDesigner.js +++ b/mindplot/src/main/javascript/MindmapDesigner.js @@ -352,7 +352,7 @@ mindplot.MindmapDesigner.prototype.save = function(onSavedHandler, saveHistory) var persistantManager = mindplot.PersistanceManager; var mindmap = this._mindmap; - var xmlChart = this._workspace.dumpNativeChart(); + var xmlChart = "j";//this._workspace.dumpNativeChart(); var properties = {zoom:this._zoom}; persistantManager.save(mindmap, xmlChart, properties, onSavedHandler, saveHistory); this._fireEvent("save", {type:saveHistory}); diff --git a/mindplot/src/main/javascript/PersistanceManager.js b/mindplot/src/main/javascript/PersistanceManager.js index af8b4517..159b826a 100644 --- a/mindplot/src/main/javascript/PersistanceManager.js +++ b/mindplot/src/main/javascript/PersistanceManager.js @@ -21,7 +21,7 @@ mindplot.PersistanceManager = {}; mindplot.PersistanceManager.save = function(mindmap, xmlChart, editorProperties, onSavedHandler,saveHistory) { core.assert(mindmap, "mindmap can not be null"); - core.assert(xmlChart, "xmlChart can not be null"); +// core.assert(xmlChart, "xmlChart can not be null"); core.assert(editorProperties, "editorProperties can not be null"); var mapId = mindmap.getId(); diff --git a/wise-webapp/src/main/webapp/jsp/embeddedViewImg.jsp b/wise-webapp/src/main/webapp/jsp/embeddedViewImg.jsp index a6200458..fa613b7f 100644 --- a/wise-webapp/src/main/webapp/jsp/embeddedViewImg.jsp +++ b/wise-webapp/src/main/webapp/jsp/embeddedViewImg.jsp @@ -17,7 +17,7 @@
-
+