Save action working again :).

This commit is contained in:
Paulo Veiga
2011-10-02 14:47:54 -03:00
parent a994099397
commit f3af50740c
11 changed files with 152 additions and 261 deletions

View File

@@ -25,9 +25,9 @@ mindplot.Beta2PelaMigrator = new Class({
return this._pelaSerializer.toXML(mindmap);
},
loadFromDom : function(dom,mapId) {
$assert($defined(mapId),"mapId can not be null");
var mindmap = this._betaSerializer.loadFromDom(dom);
loadFromDom : function(dom, mapId) {
$assert($defined(mapId), "mapId can not be null");
var mindmap = this._betaSerializer.loadFromDom(dom, mapId);
mindmap.setVersion(mindplot.ModelCodeName.PELA);
return mindmap;
}