diff --git a/public/src/client/account/topics.js b/public/src/client/account/topics.js index d917be4ac4..1fefc727d1 100644 --- a/public/src/client/account/topics.js +++ b/public/src/client/account/topics.js @@ -46,7 +46,7 @@ define('forum/account/topics', ['forum/account/header', 'forum/infinitescroll'], html.find('.timeago').timeago(); app.createUserTooltips(); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); - $(window).trigger('action:topics.loaded'); + $(window).trigger('action:topics.loaded', {topics: topics}); callback(); }); } diff --git a/public/src/client/category.js b/public/src/client/category.js index dd13089a8b..a441ff5d08 100644 --- a/public/src/client/category.js +++ b/public/src/client/category.js @@ -334,6 +334,8 @@ define('forum/category', [ app.createUserTooltips(); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); + $(window).trigger('action:topics.loaded', {topics: data.topics}); + callback(); }); }; diff --git a/public/src/client/recent.js b/public/src/client/recent.js index 6d64034c04..e4223d519a 100644 --- a/public/src/client/recent.js +++ b/public/src/client/recent.js @@ -117,7 +117,7 @@ define('forum/recent', ['forum/infinitescroll', 'components'], function(infinite html.find('.timeago').timeago(); app.createUserTooltips(); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); - $(window).trigger('action:topics.loaded'); + $(window).trigger('action:topics.loaded', {topics: topics}); callback(); }); };