set up a new view for displaying the network status
// FREEBIE
This commit is contained in:
parent
e4a21d1a53
commit
ed4991974b
13 changed files with 326 additions and 76 deletions
|
@ -232,6 +232,10 @@
|
|||
if (navigator.onLine) {
|
||||
console.log('retrying in 1 minute');
|
||||
setTimeout(init, 60000);
|
||||
|
||||
if (owsDesktopApp.inboxView) {
|
||||
owsDesktopApp.inboxView.networkStatusView.setSocketReconnectInterval(60000);
|
||||
}
|
||||
} else {
|
||||
console.log('offline');
|
||||
messageReceiver.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue