FIX: render uncategorized badge in category chooser

This commit is contained in:
Neil Lalonde 2014-03-27 15:18:16 -04:00
parent 5d4995640b
commit 0d57e4b235
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Discourse.CategoryChooserView = Discourse.ComboboxView.extend({
var category = Discourse.Category.findById(parseInt(templateData.id,10));
if (!category) return text;
var result = Discourse.HTML.categoryBadge(category, {showParent: true, link: false});
var result = Discourse.HTML.categoryBadge(category, {showParent: true, link: false, allowUncategorized: true});
result += " <div class='topic-count'>&times; " + category.get('topic_count') + "</div>";