mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Unintended edits with composer
This commit is contained in:
parent
c157c61d0e
commit
28c168fc2b
6 changed files with 114 additions and 77 deletions
|
@ -107,12 +107,6 @@ Discourse = Ember.Application.createWithMixins({
|
|||
this.set('notifyCount', count);
|
||||
},
|
||||
|
||||
openComposer: function(opts) {
|
||||
// TODO, remove container link
|
||||
var composer = Discourse.__container__.lookup('controller:composer');
|
||||
if (composer) composer.open(opts);
|
||||
},
|
||||
|
||||
/**
|
||||
Establishes global DOM events and bindings via jQuery.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue