Fix entry card contrast (lighter card, more visible border). Fix dblclick: force-select entry before opening edit.

This commit is contained in:
2026-05-12 14:20:46 +01:00
parent b51e9c3a73
commit d55be5f19e
2 changed files with 11 additions and 5 deletions
+7 -1
View File
@@ -999,7 +999,13 @@ function attachEvents() {
document.querySelectorAll('[draggable="true"], .detail-card').forEach(el => {
el.addEventListener('dblclick', function(ev) {
const id = this.dataset.id;
if (id && !showTrash) { ev.stopPropagation(); openEdit(id); }
if (id && !showTrash) {
ev.stopPropagation();
selectedIds.clear();
selectedIds.add(parseInt(id));
updateBatchBar();
openEdit(id);
}
});
});
if (showView) {