removing svg from save operation

This commit is contained in:
Pablo Luna
2011-03-31 15:16:45 +01:00
parent 6cc4d2eaff
commit b850f774fb
3 changed files with 3 additions and 3 deletions

View File

@@ -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});

View File

@@ -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();