mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #881
This commit is contained in:
parent
9addbb979a
commit
174d01292f
5
public/js/ff/transactions/single/create.js
vendored
5
public/js/ff/transactions/single/create.js
vendored
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user