From 174d01292f146e62ebc441f8c3db1b0bd368018f Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 2 Oct 2017 08:47:57 +0200 Subject: [PATCH] Fix #881 --- public/js/ff/transactions/single/create.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/js/ff/transactions/single/create.js b/public/js/ff/transactions/single/create.js index e1a0c04c9f..2dd903fe96 100644 --- a/public/js/ff/transactions/single/create.js +++ b/public/js/ff/transactions/single/create.js @@ -72,9 +72,12 @@ function updateNativeCurrency(useAccountCurrency) { $('.currency-option[data-id="' + nativeCurrencyId + '"]').click(); $('[data-toggle="dropdown"]').parent().removeClass('open'); - if (what !== 'transfer') { + if (what === 'withdrawal') { $('select[name="source_account_id"]').focus(); } + if (what === 'deposit') { + $('select[name="destination_account_id"]').focus(); + } validateCurrencyForTransfer(); }