mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:48:25 +08:00
Merge pull request #2968 from cpradio/pr-keyboard-create-topic-clean-composer
FIX: Do not recall prior DRAFT in a given category when using the Create...
This commit is contained in:
commit
befe0dce89
@ -132,7 +132,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
||||
},
|
||||
|
||||
createTopic: function() {
|
||||
Discourse.__container__.lookup('controller:composer').open({action: Discourse.Composer.CREATE_TOPIC, draftKey: Discourse.Composer.DRAFT});
|
||||
Discourse.__container__.lookup('controller:composer').open({action: Discourse.Composer.CREATE_TOPIC, draftKey: Discourse.Composer.CREATE_TOPIC});
|
||||
},
|
||||
|
||||
pinUnpinTopic: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user