mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
FIX: Draft topics should remember the category you chose
This commit is contained in:
parent
97aa2c8dfe
commit
feb4fa3bb5
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue