mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-06 04:20:48 +00:00
Fix #1014
This commit is contained in:
4
public/js/ff/transactions/single/common.js
vendored
4
public/js/ff/transactions/single/common.js
vendored
@@ -107,6 +107,10 @@ function selectsForeignCurrency() {
|
||||
if (foreignCurrencyId === nativeCurrencyId) {
|
||||
$('#exchange_rate_instruction_holder').hide();
|
||||
$('#native_amount_holder').hide();
|
||||
|
||||
// make all other inputs empty
|
||||
$('input[name="destination_amount"]').val("");
|
||||
$('input[name="native_amount"]').val("");
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user