migrating tag editing #2230

This commit is contained in:
psychobunny
2014-10-09 18:21:44 -04:00
parent 2f150649ae
commit c787cd671b

View File

@@ -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);
});