From 9f42c41673516876c1b8655fee8596af0923a9a7 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Mon, 16 Nov 2026 19:35:36 +0000 Subject: [PATCH] Set the stored accounts once the choices are built --- static/transaction.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/transaction.js b/static/transaction.js index 60a0f48..0786163 100644 --- a/static/transaction.js +++ b/static/transaction.js @@ -505,6 +505,12 @@ if (transaction.fee_sats) { Skuld.setFieldValue("fee", Skuld.formatSats(transaction.fee_sats)); } + // The choices depend on the type and the currency, so they are built from the + // stored row and only then filled in. + fillMarketSelects(); + if (transaction.market_id) { + Skuld.setFieldValue("market_id", String(transaction.market_id)); + } if (transaction.to_market_id) { Skuld.setFieldValue("to_market", String(transaction.to_market_id)); }