Skip to content

Firefly III: a personal finances manager

Partial JS focus [skip ci]

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