Don't scope category dropdown when using "Reply as New Topic"

This commit is contained in:
Robin Ward 2015-04-07 13:15:18 -04:00
parent 65bfa574ce
commit 6398cd855c
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ export default DiscourseController.extend({
// If we show the subcategory list, scope the categories drop down to
// the category we opened the composer with.
if (Discourse.SiteSettings.show_subcategory_list) {
if (this.siteSettings.show_subcategory_list && opts.draftKey !== 'reply_as_new_topic') {
this.set('scopedCategoryId', opts.categoryId);
}