Pass windows around to let file inputs work

This commit is contained in:
lilia 2015-06-04 13:29:01 -07:00
parent 3d1df790a5
commit cdb7fcfbad
4 changed files with 11 additions and 5 deletions

View file

@ -59,7 +59,9 @@
initialize: function (options) {
this.render();
this.newConversationView = new Whisper.NewConversationView();
this.newConversationView = new Whisper.NewConversationView({
appWindow: options.appWindow
});
this.newConversationView.$el.hide();
this.listenTo(this.newConversationView, 'open',
this.openConversation.bind(this, null));