From 0f0f91237093ace58c2c04757447f810705edf74 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 12 May 2017 06:21:26 +0200 Subject: [PATCH] Partial JS focus [skip ci] --- public/js/ff/transactions/single/create.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/ff/transactions/single/create.js b/public/js/ff/transactions/single/create.js index 56109f855c..f74263d899 100644 --- a/public/js/ff/transactions/single/create.js +++ b/public/js/ff/transactions/single/create.js @@ -68,7 +68,9 @@ function updateNativeCurrency() { $('.currency-option[data-id="' + nativeCurrencyId + '"]').click(); $('[data-toggle="dropdown"]').parent().removeClass('open'); - //$('select[name="source_account_id"]').focus(); + if (what !== 'transfer') { + $('select[name="source_account_id"]').focus(); + } validateCurrencyForTransfer(); }