diff --git a/public/src/client/category.js b/public/src/client/category.js index ec667a652f..e49e193c68 100644 --- a/public/src/client/category.js +++ b/public/src/client/category.js @@ -184,8 +184,11 @@ define('forum/category', [ $(window).trigger('filter:categories.new_topic', topic); + var editable = !!$('.thread-tools').length; + templates.parse('category', 'topics', { - privileges: {editable: !!$('.thread-tools').length}, + privileges: {editable: editable}, + showSelect: editable, topics: [topic] }, function(html) { translator.translate(html, function(translatedHTML) { @@ -276,6 +279,8 @@ define('forum/category', [ return; } + data.showSelect = data.privileges.editable; + findInsertionPoint(); templates.parse('category', 'topics', data, function(html) {