Do not reset the currency on a currency change
This commit is contained in:
1 parent
0c68e6ae92
commit
c1b3de5c59
1 file changed
+3
-1
@@ -552,7 +552,9 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
document.querySelector('[name="leg_out_currency"]').addEventListener("change", function () {
|
document.querySelector('[name="leg_out_currency"]').addEventListener("change", function () {
|
||||||
applyType();
|
// Only what depends on the currency: applyType() would set the select back to
|
||||||
|
// the default of the type, so the owner could never pick the other currency.
|
||||||
|
syncDestination();
|
||||||
loadLots().catch(Skuld.showError);
|
loadLots().catch(Skuld.showError);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user