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:
parent
3f5505907f
commit
e4e41140c4
7 changed files with 111 additions and 115 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue