removing auto saving of the workspace
This commit is contained in:
1 parent
0ad6f69b9c
commit
cf6fc83127
3 files changed
+7
-4
No files matched your search
@@ -115,7 +115,7 @@ function newWorkspace() {
|
||||
|
||||
thisObject.isInitialized = true
|
||||
|
||||
savingWorkspaceIntervalId = setInterval(saveWorkspace, 60000)
|
||||
//savingWorkspaceIntervalId = setInterval(saveWorkspace, 60000)
|
||||
UI.projects.foundations.utilities.statusBar.changeStatus("Displaying the UI...")
|
||||
|
||||
resolve()
|
||||
|
||||
@@ -91,7 +91,10 @@ function newGovernanceFunctionLibraryClaimsProgram() {
|
||||
node.type !== 'Feature Class' &&
|
||||
node.type !== 'Position Class'
|
||||
) {
|
||||
if (node.payload.votingProgram.votes !== undefined) {
|
||||
if (
|
||||
node.payload.votingProgram !== undefined &&
|
||||
node.payload.votingProgram.votes !== undefined
|
||||
) {
|
||||
node.payload.claimsProgram = {
|
||||
count: 0,
|
||||
votes: 0
|
||||
|
||||
+2
-2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user