Popout inbox

Rather than opening the inbox in its own window, let it appear as a
browser action popup by default, but allow promotion to its own window
if requested.
This commit is contained in:
lilia 2015-03-12 11:53:23 -07:00
parent cecb438a52
commit 31e7d285e3
9 changed files with 52 additions and 4 deletions

View file

@ -80,6 +80,10 @@
events: {
'click .fab': 'showCompose',
'select .contact': 'openConversation',
'click .popout': 'popout'
},
popout: function() {
bg.popoutInbox();
},
openConversation: function(e, data) {
bg.openConversation(data.modelId);