use showSelect

v1.18.x
Barış Soner Uşaklı 6 years ago
parent e0dc00daf5
commit fee3ec308a

@ -205,7 +205,7 @@ define('topicList', ['forum/infinitescroll', 'handleBack', 'topicSelect'], funct
var loadFn = loadTopicsCallback || loadTopicsAfter; var loadFn = loadTopicsCallback || loadTopicsAfter;
loadFn(after, direction, function (data, done) { loadFn(after, direction, function (data, done) {
if (data.topics && data.topics.length) { if (data.topics && data.topics.length) {
TopicList.onTopicsLoaded(templateName, data.topics, data.privileges && data.privileges.editable, direction, done); TopicList.onTopicsLoaded(templateName, data.topics, ajaxify.data.showSelect, direction, done);
} else { } else {
done(); done();
$('#load-more-btn').hide(); $('#load-more-btn').hide();

Loading…
Cancel
Save