removing auto saving of the workspace

This commit is contained in:
Luis Fernando Molina committed 2021-06-30 16:35:34 +02:00
1 parent 0ad6f69b9c
commit cf6fc83127
3 files changed
+7 -4

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ function newAppPostLoader() {
function start() {
try {
setBrowserEvents()
// autoSaveWhenClosingTheBrowser()
setupProjectsSchema()
function setupProjectsSchema() {
@@ -210,7 +210,7 @@ function newAppPostLoader() {
}
}
function setBrowserEvents() {
function autoSaveWhenClosingTheBrowser() {
window.onbeforeunload = saveWorkspace
/* handles backspace and refresh(F5) from keyboard */