mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 02:18:20 +00:00
Update API to convert to native.
This commit is contained in:
@@ -26,7 +26,6 @@ $(function () {
|
||||
$('.make_default').on('click', setDefaultCurrency);
|
||||
$('.enable-currency').on('click', enableCurrency);
|
||||
$('.disable-currency').on('click', disableCurrency);
|
||||
console.log('Loaded3');
|
||||
});
|
||||
|
||||
function setDefaultCurrency(e) {
|
||||
@@ -47,6 +46,7 @@ function setDefaultCurrency(e) {
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
timeout: 30000, // sets timeout to 30 seconds
|
||||
url: updateCurrencyUrl + '/' + currencyCode,
|
||||
data: JSON.stringify(params),
|
||||
type: 'PUT',
|
||||
|
Reference in New Issue
Block a user