minor fix to template rendering

This commit is contained in:
Julian Lam
2013-06-24 13:32:36 -04:00
parent 4436dbafe9
commit 39aac31092
2 changed files with 3 additions and 1 deletions

View File

@@ -95,6 +95,8 @@ socket.on('api:topic.restore', function(response) {
});
socket.on('api:admin.topics.getMore', function(topics) {
topics = JSON.parse(topics);
console.log(topics);
var html = templates.prepare(templates['admin/topics'].blocks['topics']).parse(topics);
console.log(html);
});