mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-29 00:11:32 +08:00
fix ENEX import note saving
This commit is contained in:
parent
a346ba7038
commit
8ec476ba96
@ -310,7 +310,13 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
updateDates(noteEntity.noteId, utcDateCreated, utcDateModified);
|
updateDates(noteEntity.noteId, utcDateCreated, utcDateModified);
|
||||||
}
|
}
|
||||||
|
|
||||||
saxStream.on("closetag", tag => path.pop());
|
saxStream.on("closetag", tag => {
|
||||||
|
path.pop();
|
||||||
|
|
||||||
|
if (tag === 'note') {
|
||||||
|
saveNote();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
saxStream.on("opencdata", () => {
|
saxStream.on("opencdata", () => {
|
||||||
//console.log("opencdata");
|
//console.log("opencdata");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user