FIX: Draft topics should remember the category you chose
This commit is contained in:
parent
97aa2c8dfe
commit
feb4fa3bb5
|
@ -304,11 +304,11 @@ Discourse.ComposerController = Discourse.Controller.extend({
|
|||
if (composer) {
|
||||
composer.set('topic', opts.topic);
|
||||
}
|
||||
} else {
|
||||
composer = composer || Discourse.Composer.create();
|
||||
composer.open(opts);
|
||||
}
|
||||
|
||||
composer = composer || Discourse.Composer.create();
|
||||
composer.open(opts);
|
||||
|
||||
this.set('model', composer);
|
||||
composer.set('composeState', Discourse.Composer.OPEN);
|
||||
composerMessages.queryFor(this.get('model'));
|
||||
|
|
Loading…
Reference in New Issue