repo-creating: fix reload url.
This commit is contained in:
parent
cb8a7fccde
commit
79d7509eec
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@
|
|||
}
|
||||
}
|
||||
else {
|
||||
var message = _gettext('Fetching repository state failed. Error code: {0} {1}. Try <a href="{2}">refreshing</a> this page.').format(resp.status, resp.statusText, url);
|
||||
var currentUrl = "${h.current_route_path()}";
|
||||
var message = _gettext('Fetching repository state failed. Error code: {0} {1}. Try <a href="{2}">refreshing</a> this page.').format(resp.status, resp.statusText, currentUrl);
|
||||
var payload = {
|
||||
message: {
|
||||
message: message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue