mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user