feat: new hook `action:topics.loading` (in the same format as `action:posts.loading`)

v1.18.x
psychobunny 4 years ago
parent 8ae4c30029
commit e0db904b0e

@ -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();

Loading…
Cancel
Save