fixes, separation of notefull from noteshort

This commit is contained in:
zadam
2020-01-25 14:37:12 +01:00
parent 516e6c35da
commit ac7d5f2e81
18 changed files with 64 additions and 103 deletions

View File

@@ -172,8 +172,6 @@ function AttributesModel() {
toastService.showMessage("Attributes have been saved.");
appContext.getActiveTabContext().attributes.refreshAttributes();
// FIXME detail should be also reloaded
appContext.trigger('reloadTree');
};

View File

@@ -16,13 +16,13 @@ export function showDialog() {
$dialog.modal();
const activeNote = appContext.getActiveTabNote();
const {note, noteFull} = appContext.getActiveTabContext();
$noteId.text(activeNote.noteId);
$dateCreated.text(activeNote.dateCreated);
$dateModified.text(activeNote.dateModified);
$type.text(activeNote.type);
$mime.text(activeNote.mime);
$noteId.text(note.noteId);
$dateCreated.text(noteFull.dateCreated);
$dateModified.text(noteFull.dateModified);
$type.text(note.type);
$mime.text(note.mime);
}
$okButton.on('click', () => $dialog.modal('hide'));