mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
Fix issues with #1521
This commit is contained in:
2
public/js/ff/firefly.js
vendored
2
public/js/ff/firefly.js
vendored
@@ -83,6 +83,7 @@ $(function () {
|
||||
|
||||
function currencySelect(e) {
|
||||
"use strict";
|
||||
console.log('In currencySelect() because somebody clicked a .currency-option.');
|
||||
// clicked on
|
||||
var target = $(e.target); // target is the <A> tag.
|
||||
|
||||
@@ -105,6 +106,7 @@ function currencySelect(e) {
|
||||
var id = target.data('id');
|
||||
|
||||
// update the hidden input:
|
||||
console.log('Updated ' + hiddenInputName + ' to ID ' + id);
|
||||
$('input[name="' + hiddenInputName + '"]').val(id);
|
||||
|
||||
// update the symbol:
|
||||
|
||||
Reference in New Issue
Block a user