Added redirection to proper URL after tag renaming
This commit is contained in:
parent
150d585860
commit
3d7967e7c1
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ App.Presenters.TagPresenter = function(
|
||||||
render();
|
render();
|
||||||
renderPosts(posts);
|
renderPosts(posts);
|
||||||
tagList.refreshTags();
|
tagList.refreshTags();
|
||||||
|
router.navigateInplace('#/tag/' + tag.name);
|
||||||
}).fail(function(response) {
|
}).fail(function(response) {
|
||||||
window.alert(response.json && response.json.error || 'An error occured.');
|
window.alert(response.json && response.json.error || 'An error occured.');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue