mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-06 01:45:22 +00:00
Replace uri with url
This commit is contained in:
8
public/v1/js/ff/reports/all.js
vendored
8
public/v1/js/ff/reports/all.js
vendored
@@ -18,16 +18,16 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/** global: startDate, endDate, accountIds */
|
||||
function loadAjaxPartial(holder, uri) {
|
||||
function loadAjaxPartial(holder, url) {
|
||||
"use strict";
|
||||
$.get(uri).done(function (data) {
|
||||
$.get(url).done(function (data) {
|
||||
displayAjaxPartial(data, holder);
|
||||
}).fail(function () {
|
||||
failAjaxPartial(uri, holder);
|
||||
failAjaxPartial(url, holder);
|
||||
});
|
||||
}
|
||||
|
||||
function failAjaxPartial(uri, holder) {
|
||||
function failAjaxPartial(url, holder) {
|
||||
"use strict";
|
||||
var holderObject = $('#' + holder);
|
||||
holderObject.parent().find('.overlay').remove();
|
||||
|
||||
Reference in New Issue
Block a user