Minor fixes.

This commit is contained in:
Paulo Veiga
2011-07-26 16:58:49 -03:00
parent 41c1f47227
commit 9759ee12cb
4 changed files with 60 additions and 54 deletions

View File

@@ -320,17 +320,6 @@ function afterMindpotLibraryLoading() {
window.document.location = "mymaps.htm";
});
var autosave = function() {
if (designer.needsSave()) {
designer.save(function() {
var monitor = core.Monitor.getInstance();
}, false);
}
};
autosave.periodical(30000);
// To prevent the user from leaving the page with changes ...
window.onbeforeunload = function confirmExit() {
if (designer.needsSave()) {