From a3c41e7fdba99c6bec7b742d87733fa06ccd7406 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 20 Jul 2015 17:12:41 -0400 Subject: [PATCH] action:posts.loading --- public/src/client/topic/posts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index d07398c5f3..6532ae648c 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -137,6 +137,8 @@ define('forum/topic/posts', [ data.slug = ajaxify.data.slug; data.viewcount = ajaxify.data.viewcount; + $(window).trigger('action:posts.loading', {posts: data.posts, after: after, before: before}); + infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) { if (after) { html.insertAfter(after);