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)); }