remove unless Json.encode method call

This commit is contained in:
Ezequiel Bergamaschi 2014-06-16 01:36:33 -03:00
parent 332ef31597
commit beaac8196d

View File

@ -42,7 +42,7 @@ mindplot.PersistenceManager = new Class({
var domMap = serializer.toXML(mindmap); var domMap = serializer.toXML(mindmap);
var mapXml = core.Utils.innerXML(domMap); var mapXml = core.Utils.innerXML(domMap);
var pref = JSON.encode(editorProperties); var pref = (editorProperties);
try { try {
this.saveMapXml(mapId, mapXml, pref, saveHistory, events, sync); this.saveMapXml(mapId, mapXml, pref, saveHistory, events, sync);
} catch (e) { } catch (e) {