This commit is contained in:
azivner
2017-09-03 18:50:56 -04:00
parent 81c534104f
commit 573e2f7ace
3 changed files with 5 additions and 10 deletions

View File

@@ -42,8 +42,6 @@ function saveNoteIfChanged(callback) {
note.detail.note_title = title;
globalNoteNames[note.detail.note_id] = title;
$.ajax({
url: baseUrl + 'notes/' + note.detail.note_id,
type: 'PUT',
@@ -112,7 +110,7 @@ function createNote(node, parentKey, target) {
"note_id": result.note_id
};
globalNoteNames[result.note_id] = newNoteName;
globalAllNoteIds.push(result.note_id);
newNoteCreated = true;