|
|
|
@ -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) {
|
|
|
|
|