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 persistantManager = mindplot.PersistanceManager;
var mindmap = this._mindmap; var mindmap = this._mindmap;
var xmlChart = this._workspace.dumpNativeChart(); var xmlChart = "j";//this._workspace.dumpNativeChart();
var properties = {zoom:this._zoom}; var properties = {zoom:this._zoom};
persistantManager.save(mindmap, xmlChart, properties, onSavedHandler, saveHistory); persistantManager.save(mindmap, xmlChart, properties, onSavedHandler, saveHistory);
this._fireEvent("save", {type:saveHistory}); this._fireEvent("save", {type:saveHistory});

View File

@ -21,7 +21,7 @@ mindplot.PersistanceManager = {};
mindplot.PersistanceManager.save = function(mindmap, xmlChart, editorProperties, onSavedHandler,saveHistory) mindplot.PersistanceManager.save = function(mindmap, xmlChart, editorProperties, onSavedHandler,saveHistory)
{ {
core.assert(mindmap, "mindmap can not be null"); 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"); core.assert(editorProperties, "editorProperties can not be null");
var mapId = mindmap.getId(); var mapId = mindmap.getId();

View File

@ -17,7 +17,7 @@
<div id="mapContainer"> <div id="mapContainer">
<div id='mindplot' <div id='mindplot'
style='background: url( ../images/grid.gif ) bottom left repeat !important;overflow:hidden;width:100%;height:100%;'> style='background: url( ../images/grid.gif ) bottom left repeat !important;overflow:hidden;width:100%;height:100%;'>
<div style="100%;height:100%;background: url( ${exportImgUrl} );background-position: 0px -100px;background-repeat: no-repeat;"></div> <div style="width:100%;height:100%;background: url( ${exportImgUrl} );background-position: 0px -100px;background-repeat: no-repeat;"></div>
</div> </div>
<div id="embFooter"> <div id="embFooter">
<a href="${pageContext.request.contextPath}/c/home.htm" target="new"> <a href="${pageContext.request.contextPath}/c/home.htm" target="new">