mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
Catch undefined var
This commit is contained in:
@@ -448,7 +448,7 @@ export default {
|
|||||||
|
|
||||||
// show message, redirect.
|
// show message, redirect.
|
||||||
if (false === this.createAnother) {
|
if (false === this.createAnother) {
|
||||||
window.location.href = window.previousURL + '?transaction_group_id=' + this.groupId + '&message=created';
|
window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=created';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// render msg:
|
// render msg:
|
||||||
|
2
public/v2/js/transactions/create.js
vendored
2
public/v2/js/transactions/create.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user