mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 19:21:23 +00:00
Update javascript code.
This commit is contained in:
@@ -62,7 +62,6 @@ function respondInfoButton(data) {
|
||||
|
||||
function loadAjaxPartial(holder, uri) {
|
||||
"use strict";
|
||||
console.log('Going to grab URI ' + uri);
|
||||
$.get(uri).done(function (data) {
|
||||
displayAjaxPartial(data, holder);
|
||||
}).fail(function () {
|
||||
@@ -72,7 +71,6 @@ function loadAjaxPartial(holder, uri) {
|
||||
|
||||
function displayAjaxPartial(data, holder) {
|
||||
"use strict";
|
||||
console.log('Display stuff in ' + holder);
|
||||
var obj = $('#' + holder);
|
||||
obj.removeClass('loading').html(data);
|
||||
|
||||
@@ -98,7 +96,6 @@ function displayAjaxPartial(data, holder) {
|
||||
|
||||
function failAjaxPartial(uri, holder) {
|
||||
"use strict";
|
||||
console.log('Failed to load: ' + uri);
|
||||
$('#' + holder).removeClass('loading').addClass('general-chart-error');
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user