Refactor app view

Introduce a top level view for navigating between the inbox and the
installer, enabling an in-window relink flow. Navigation is driven
through the openInbox and openInstaller global events.

// FREEBIE
This commit is contained in:
lilia 2017-04-12 14:20:56 -07:00 committed by Scott Nonnenberg
parent 3f5505907f
commit e4e41140c4
No known key found for this signature in database
GPG key ID: A4931C09644C654B
7 changed files with 111 additions and 115 deletions

View file

@ -26,7 +26,10 @@
this.listenTo(this.model, 'change', this.onChange);
},
events: {
'click .openInstaller': extension.install
'click .openInstaller': 'openInstaller'
},
openInstaller: function() {
Whisper.events.trigger('openInstaller');
},
onReconnectTimer: function() {
this.setSocketReconnectInterval(60000);