From 224c5bff2993c79e4429bec6ed10b1190cbe5f23 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 11:24:02 +0000 Subject: [PATCH] Show the generated transfer type without letting it be chosen --- static/transaction.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/transaction.js b/static/transaction.js index 90120ef..baeafca 100644 --- a/static/transaction.js +++ b/static/transaction.js @@ -365,12 +365,11 @@ function fillTypes() { var select = document.querySelector('[name="type"]'); Object.keys(Skuld.TYPE_LABELS).forEach(function (key) { - if (key === "transfer_in") { - return; - } var option = document.createElement("option"); option.value = key; option.textContent = Skuld.typeLabel(key); + // A generated transfer_in is shown, never chosen (docs/spec.md section 7.3). + option.disabled = key === "transfer_in"; select.appendChild(option); }); }