From fff119a55443176e7f7e32e322daac08d19f5abc Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 1 Mar 2016 14:08:39 -0500 Subject: [PATCH] FIX: Regression with categories when replying as linked topic --- app/assets/javascripts/discourse/controllers/topic.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/topic.js.es6 b/app/assets/javascripts/discourse/controllers/topic.js.es6 index cfcc6ec0b..a87f854e7 100644 --- a/app/assets/javascripts/discourse/controllers/topic.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic.js.es6 @@ -498,7 +498,7 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, { composerController.open({ action: Composer.CREATE_TOPIC, draftKey: Composer.REPLY_AS_NEW_TOPIC_KEY, - categoryId: this.get('category.id') + categoryId: this.get('model.category.id') }).then(() => { return Em.isEmpty(quotedText) ? "" : quotedText; }).then(q => {