From e526fb0d1cd04bf55026f607ef793aca500d4e1e Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Sat, 15 Aug 2015 12:18:37 +0530 Subject: [PATCH] FIX: fix new-topic composer issue --- app/assets/javascripts/discourse/mixins/open-composer.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/mixins/open-composer.js.es6 b/app/assets/javascripts/discourse/mixins/open-composer.js.es6 index fc4f9c784..8717d21a5 100644 --- a/app/assets/javascripts/discourse/mixins/open-composer.js.es6 +++ b/app/assets/javascripts/discourse/mixins/open-composer.js.es6 @@ -18,8 +18,8 @@ export default Ember.Mixin.create({ topicBody, topicCategoryId, topicCategory, - draftKey: controller.get('draft_key'), - draftSequence: controller.get('draft_sequence') + draftKey: controller.get('model.draft_key'), + draftSequence: controller.get('model.draft_sequence') }); }