more fixes

This commit is contained in:
Baris Soner Usakli
2014-01-25 19:50:50 -05:00
parent 1084523c92
commit 75f178636b
5 changed files with 7 additions and 2 deletions

View File

@@ -1018,6 +1018,9 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
if(config.usePagination) {
socket.emit('posts.getPidPage', pid, function(err, page) {
if(err) {
return;
}
if(parseInt(page, 10) !== pagination.currentPage) {
pagination.loadPage(page);
} else {