remove first slash in mass transaction changes

maybe bug when Firefly installed in directory
This commit is contained in:
HamuZ HamuZ 2018-09-23 08:01:55 +03:00 committed by GitHub
parent 82e7202ad2
commit 958c7e7939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ function goToMassEdit() {
baseHref = bases[0].href; baseHref = bases[0].href;
} }
window.location.href = baseHref + '/transactions/mass/edit/' + checkedArray; window.location.href = baseHref + 'transactions/mass/edit/' + checkedArray;
return false; return false;
} }
@ -87,7 +87,7 @@ function goToBulkEdit() {
baseHref = bases[0].href; baseHref = bases[0].href;
} }
window.location.href = baseHref + '/transactions/bulk/edit/' + checkedArray; window.location.href = baseHref + 'transactions/bulk/edit/' + checkedArray;
return false; return false;
} }
@ -106,7 +106,7 @@ function goToMassDelete() {
if (bases.length > 0) { if (bases.length > 0) {
baseHref = bases[0].href; baseHref = bases[0].href;
} }
window.location.href = baseHref + '/transactions/mass/delete/' + checkedArray; window.location.href = baseHref + 'transactions/mass/delete/' + checkedArray;
return false; return false;
} }