Handle the 'extension loaded, reopen window' scenario
Not sure exactly how to think about Chrome app lifetimes, so we're being conservative. We only show the full-application loading screen once, on first display of the inbox. FREEBIE
This commit is contained in:
parent
53f2bfbb57
commit
39795170c1
2 changed files with 12 additions and 4 deletions
|
@ -443,7 +443,11 @@
|
|||
return ConversationController.updateInbox().then(function() {
|
||||
try {
|
||||
if (self.inboxView) { self.inboxView.remove(); }
|
||||
self.inboxView = new Whisper.InboxView({model: self, window: destWindow});
|
||||
self.inboxView = new Whisper.InboxView({
|
||||
model: self,
|
||||
window: destWindow,
|
||||
initialLoadComplete: initialLoadComplete
|
||||
});
|
||||
self.openConversation(getOpenConversation());
|
||||
|
||||
return self.inboxView;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue