Temporal commit.

This commit is contained in:
Paulo Gustavo Veiga
2012-10-05 20:05:33 -03:00
committed by Paulo Gustavo Veiga
parent af8d833356
commit 2d58e9a0f5
6 changed files with 100 additions and 66 deletions

View File

@@ -24,7 +24,7 @@ mindplot.LocalStorageManager = new Class({
saveMapXml:function (mapId, mapXml, pref, saveHistory, events) {
localStorage.setItem(mapId + "-xml", mapXml);
events.onSuccess();
events.onError({message:"It's not possible to save your changes because your mindmap has been modified by '%s'. Refresh the page and try again.", severity:"FATAL"});
},
discardChanges:function (mapId) {
@@ -49,7 +49,6 @@ mindplot.LocalStorageManager = new Class({
if (xml == null) {
throw new Error("Map could not be loaded");
}
}
var parser = new DOMParser();