mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
removing svg from save operation
This commit is contained in:
parent
6cc4d2eaff
commit
b850f774fb
@ -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});
|
||||||
|
@ -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();
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user