FIX: Unintended edits with composer

This commit is contained in:
Robin Ward
2013-07-04 13:35:15 -04:00
parent c157c61d0e
commit 28c168fc2b
6 changed files with 114 additions and 77 deletions

View File

@ -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.