From d07745a6cd606d47d61a34bbd74336afa0a69c33 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 3 Nov 2014 20:54:30 +0100 Subject: [PATCH] Fixed double reload when editing tags --- public_html/js/Presenters/TagPresenter.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public_html/js/Presenters/TagPresenter.js b/public_html/js/Presenters/TagPresenter.js index aef008ea..c91e9f5f 100644 --- a/public_html/js/Presenters/TagPresenter.js +++ b/public_html/js/Presenters/TagPresenter.js @@ -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.');