Call open directly to avoid deprecation warning

This commit is contained in:
cpradio 2014-10-24 17:08:10 -04:00
parent e013694734
commit 00816269fc

View File

@ -131,7 +131,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
},
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() {