mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fixes, separation of notefull from noteshort
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user