note converted to module

This commit is contained in:
azivner
2017-11-04 17:54:27 -04:00
parent adc7d15819
commit b44c685f23
11 changed files with 301 additions and 270 deletions

View File

@@ -5,8 +5,8 @@ async function checkStatus() {
contentType: "application/json",
data: JSON.stringify({
treeLoadTime: glob.treeLoadTime,
currentNoteId: glob.currentNote ? glob.currentNote.detail.note_id : null,
currentNoteDateModified: glob.currentNoteLoadTime
currentNoteId: noteEditor.getCurrentNoteId(),
currentNoteDateModified: noteEditor.getCurrentNoteLoadTime()
}),
statusCode: {
401: () => {