From 288d507eb6096a594e71512b7bcaac90e22d6a3b Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 24 Jan 2015 18:48:34 -0500 Subject: [PATCH] pass the loaded pids to action:posts.loaded --- public/src/client/topic/posts.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index 6303ca8864..8e21928498 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -127,32 +127,31 @@ define('forum/topic/posts', [ html.hide().fadeIn('slow'); - $(window).trigger('action:posts.loaded'); - onNewPostsLoaded(html, data.posts); + var pids = []; + for(var i=0; i