mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:32:23 +08:00
Call open directly to avoid deprecation warning
This commit is contained in:
parent
e013694734
commit
00816269fc
|
@ -131,7 +131,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
||||||
},
|
},
|
||||||
|
|
||||||
createTopic: function() {
|
createTopic: function() {
|
||||||
Discourse.__container__.lookup('controller:composer').send('open', {action: Discourse.Composer.CREATE_TOPIC, draftKey: Discourse.Composer.DRAFT});
|
Discourse.__container__.lookup('controller:composer').open({action: Discourse.Composer.CREATE_TOPIC, draftKey: Discourse.Composer.DRAFT});
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleProgress: function() {
|
toggleProgress: function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user