not used code
This commit is contained in:
1 parent
503a7d9283
commit
c74ea51db5
2 files changed
+5
-11
No files matched your search
@@ -172,6 +172,10 @@ function newWorkspace() {
|
||||
}
|
||||
|
||||
let url = 'SaveWorkspace/' + workspace.name
|
||||
if (textToSave === '{"type":"Workspace","name":"Getting Started","rootNodes":[null,null,null,null,null,null,null,null,null]}') {
|
||||
console.log('[WARN] The system tried to save an empty workspace. Saving cancelled.')
|
||||
return
|
||||
}
|
||||
httpRequest(textToSave, url, onResponse)
|
||||
return true
|
||||
|
||||
|
||||
Reference in new issue
Block a user