Skip to content

Firefly III: a personal finances manager

Fix #881

James Cole174d01292f14
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();
}