mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: new hook action:topics.loading (in the same format as action:posts.loading)
This commit is contained in:
@@ -250,6 +250,8 @@ define('topicList', [
|
||||
};
|
||||
tplData.template[templateName] = true;
|
||||
|
||||
$(window).trigger('action:topics.loading', { topics: topics, after: after, before: before });
|
||||
|
||||
app.parseAndTranslate(templateName, 'topics', tplData, function (html) {
|
||||
topicListEl.removeClass('hidden');
|
||||
$('#category-no-topics').remove();
|
||||
|
||||
Reference in New Issue
Block a user