better UX when deleting notes - focus in note tree is moved to the next/previous note

This commit is contained in:
zadam
2020-05-12 13:40:42 +02:00
parent 30b9ef8604
commit 4f50864ec8
4 changed files with 27 additions and 3 deletions

View File

@@ -221,6 +221,7 @@ async function transactional(func) {
await commit();
// note that sync rows sent from this action will be sent again by scheduled periodic ping
require('./ws.js').sendPingToAllClients();
transactionActive = false;
@@ -267,4 +268,4 @@ module.exports = {
executeScript,
transactional,
upsert
};
};