Fixed double reload when editing tags

This commit is contained in:
Marcin Kurczewski 2014-11-03 20:54:30 +01:00
parent 8f56018140
commit d07745a6cd

View file

@ -115,10 +115,6 @@ App.Presenters.TagPresenter = function(
promise.wait(api.put('/tags/' + tag.name, formData))
.then(function(response) {
tag = response.json;
render();
renderPosts(posts);
tagList.refreshTags();
router.navigateInplace('#/tag/' + tag.name);
}).fail(function(response) {
window.alert(response.json && response.json.error || 'An error occured.');