FIX: Draft topics should remember the category you chose

This commit is contained in:
Robin Ward 2014-02-14 12:33:46 -05:00
parent 97aa2c8dfe
commit feb4fa3bb5
1 changed files with 3 additions and 3 deletions

View File

@ -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'));