This commit is contained in:
James Cole 2017-10-02 08:47:57 +02:00
parent 9addbb979a
commit 174d01292f
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -72,9 +72,12 @@ function updateNativeCurrency(useAccountCurrency) {
$('.currency-option[data-id="' + nativeCurrencyId + '"]').click(); $('.currency-option[data-id="' + nativeCurrencyId + '"]').click();
$('[data-toggle="dropdown"]').parent().removeClass('open'); $('[data-toggle="dropdown"]').parent().removeClass('open');
if (what !== 'transfer') { if (what === 'withdrawal') {
$('select[name="source_account_id"]').focus(); $('select[name="source_account_id"]').focus();
} }
if (what === 'deposit') {
$('select[name="destination_account_id"]').focus();
}
validateCurrencyForTransfer(); validateCurrencyForTransfer();
} }