added pagination to vanilla topic template

This commit is contained in:
Baris Soner Usakli
2014-01-24 21:01:28 -05:00
parent 0580d0c8a3
commit aa73a10fc4
2 changed files with 16 additions and 8 deletions

View File

@@ -19,8 +19,9 @@ define(['composer'], function(composer) {
},
topic_name = templates.get('topic_name'),
currentPage = parseInt(templates.get('currentPage'), 10),
pageCount = parseInt(templates.get('pageCount'), 10),
Topic.postCount = templates.get('postcount');
pageCount = parseInt(templates.get('pageCount'), 10);
Topic.postCount = templates.get('postcount');
function fixDeleteStateForPosts() {