mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-01 18:10:06 +00:00
Update javascript code.
This commit is contained in:
@@ -26,7 +26,6 @@ $(function () {
|
||||
|
||||
// set values from cookies, if any:
|
||||
if (!(readCookie('report-type') === null)) {
|
||||
console.log(readCookie('report-type'));
|
||||
$('select[name="report_type"]').val(readCookie('report-type'));
|
||||
}
|
||||
|
||||
@@ -61,7 +60,6 @@ function getReportOptions() {
|
||||
var reportType = $('select[name="report_type"]').val();
|
||||
$('#extra-options').empty();
|
||||
$('#extra-options').addClass('loading');
|
||||
console.log('Changed report type to ' + reportType);
|
||||
|
||||
$.getJSON('reports/options/' + reportType, function (data) {
|
||||
$('#extra-options').removeClass('loading').html(data.html);
|
||||
|
Reference in New Issue
Block a user