From c787cd671bace8f31ed24e810fc56941a0dcb507 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 9 Oct 2014 18:21:44 -0400 Subject: [PATCH] migrating tag editing #2230 --- public/src/client/topic/events.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js index bb50f0d556..9b9093c09b 100644 --- a/public/src/client/topic/events.js +++ b/public/src/client/topic/events.js @@ -107,11 +107,9 @@ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', ' }); if (data.tags && data.tags.length !== $('.tags').first().children().length) { - ajaxify.loadTemplate('partials/post_bar', function(postBarTemplate) { - var html = templates.parse(templates.getBlock(postBarTemplate, 'tags'), { - tags: data.tags - }); + templates.parse('partials/post_bar', 'tags', {tags: data.tags}, function(html) { var tags = $('.tags'); + tags.fadeOut(250, function() { tags.html(html).fadeIn(250); });