diff --git a/modules/ui/notes-editor.js b/modules/ui/notes-editor.js index caa4a59f..04facf08 100644 --- a/modules/ui/notes-editor.js +++ b/modules/ui/notes-editor.js @@ -126,6 +126,7 @@ function editNotes(id, name) { notes.splice(index, 1); select.options.length = 0; if (!notes.length) {$("#notesEditor").dialog("close"); return;} + notesText.innerHTML = ""; editNotes(notes[0].id, notes[0].name); }