fixed unloading the encrypted page after encryption timeout by simply reloading the app completely plus some unrelated refactorings

This commit is contained in:
azivner
2017-11-04 21:02:56 -04:00
parent 9c88fc6060
commit b192336113
6 changed files with 19 additions and 34 deletions

View File

@@ -12,7 +12,7 @@ const status = (function() {
data: JSON.stringify({
treeLoadTime: noteTree.getTreeLoadTime(),
currentNoteId: noteEditor.getCurrentNoteId(),
currentNoteDateModified: noteEditor.getCurrentNoteLoadTime()
currentNoteLoadTime: noteEditor.getCurrentNoteLoadTime()
}),
statusCode: {
401: () => {