mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
FIX: Regression with categories when replying as linked topic
This commit is contained in:
parent
618eef680e
commit
fff119a554
@ -498,7 +498,7 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, {
|
|||||||
composerController.open({
|
composerController.open({
|
||||||
action: Composer.CREATE_TOPIC,
|
action: Composer.CREATE_TOPIC,
|
||||||
draftKey: Composer.REPLY_AS_NEW_TOPIC_KEY,
|
draftKey: Composer.REPLY_AS_NEW_TOPIC_KEY,
|
||||||
categoryId: this.get('category.id')
|
categoryId: this.get('model.category.id')
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
return Em.isEmpty(quotedText) ? "" : quotedText;
|
return Em.isEmpty(quotedText) ? "" : quotedText;
|
||||||
}).then(q => {
|
}).then(q => {
|
||||||
|
Loading…
Reference in New Issue
Block a user