mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
converted settings, note revisions, password change and recent changes routes
This commit is contained in:
@@ -25,7 +25,7 @@ async function showNoteRevisionsDialog(noteId, noteRevisionId) {
|
||||
$list.empty();
|
||||
$content.empty();
|
||||
|
||||
revisionItems = await server.get('notes-revisions/' + noteId);
|
||||
revisionItems = await server.get('note-revisions/' + noteId);
|
||||
|
||||
for (const item of revisionItems) {
|
||||
const dateModified = utils.parseDate(item.dateModifiedFrom);
|
||||
|
||||
@@ -105,7 +105,7 @@ addTabHandler((function() {
|
||||
$form.submit(() => {
|
||||
const protectedSessionTimeout = $protectedSessionTimeout.val();
|
||||
|
||||
settings.saveSettings(settingName, protectedSessionTimeout).then(() => {
|
||||
saveSettings(settingName, protectedSessionTimeout).then(() => {
|
||||
protectedSessionHolder.setProtectedSessionTimeout(protectedSessionTimeout);
|
||||
});
|
||||
|
||||
@@ -127,7 +127,7 @@ addTabHandler((function () {
|
||||
}
|
||||
|
||||
$form.submit(() => {
|
||||
settings.saveSettings(settingName, $timeInterval.val());
|
||||
saveSettings(settingName, $timeInterval.val());
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user