-
diff --git a/js/app.js b/js/app.js
index e16b48e..847a5f4 100644
--- a/js/app.js
+++ b/js/app.js
@@ -291,7 +291,7 @@ function toggleTrash() {
showTrash = !showTrash;
const btn = document.getElementById('trashBtn');
const actions = document.getElementById('trashActions');
- if (btn) { btn.textContent = showTrash ? 'π Active' : 'ποΈ Trash'; btn.classList.toggle('btn-danger', showTrash); }
+ if (btn) { btn.textContent = showTrash ? 'π' : 'ποΈ'; btn.classList.toggle('active', showTrash); btn.title = showTrash ? 'Active entries' : 'Trash'; }
if (actions) actions.classList.toggle('hidden', !showTrash);
loadEntries();
playSound('click');
@@ -1000,10 +1000,11 @@ function attachEvents() {
el.addEventListener('dblclick', function(ev) {
const id = this.dataset.id;
if (id && !showTrash) {
- ev.stopPropagation();
+ ev.preventDefault();
selectedIds.clear();
selectedIds.add(parseInt(id));
updateBatchBar();
+ render();
openEdit(id);
}
});
@@ -1056,7 +1057,7 @@ function openEdit(id) {
document.getElementById('editSite').focus();
playSound('open');
}
-function closeEdit() { document.getElementById('editModal').classList.remove('show'); playSound('close'); }
+function closeEdit() { document.getElementById('editModal').classList.remove('show'); render(); playSound('close'); }
function toggleEditPassword() { const f = document.getElementById('editPassword'); f.type = f.type === 'password' ? 'text' : 'password'; }
async function saveEdit() {
const id = document.getElementById('editId').value;
diff --git a/vault-error.log b/vault-error.log
new file mode 100644
index 0000000..ae71a73
--- /dev/null
+++ b/vault-error.log
@@ -0,0 +1 @@
+[2026-05-09 15:27:22] FATAL: database is locked
diff --git a/vault.db b/vault.db
index 8a00a2a..6eb1b9a 100644
Binary files a/vault.db and b/vault.db differ