mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
App reconnect is now possible if the connection was interrupted and takes to long for automatic reconnect
This commit is contained in:
parent
a8c8970192
commit
8fe2e073c5
3 changed files with 11 additions and 0 deletions
|
@ -93,3 +93,6 @@ template(name="offlineWarning")
|
|||
p
|
||||
i.fa.fa-warning
|
||||
| {{_ 'app-is-offline'}}
|
||||
|
||||
a.app-try-reconnect
|
||||
{{_ 'app-try-reconnect'}}
|
||||
|
|
|
@ -41,3 +41,10 @@ Template.header.events({
|
|||
Session.set('currentCard', null);
|
||||
},
|
||||
});
|
||||
|
||||
Template.offlineWarning.events({
|
||||
'click a.app-try-reconnect'(event) {
|
||||
event.preventDefault();
|
||||
Meteor.reconnect();
|
||||
},
|
||||
});
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
"and-n-other-card_plural": "And __count__ other cards",
|
||||
"apply": "Apply",
|
||||
"app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.",
|
||||
"app-try-reconnect": "Try reconnect.",
|
||||
"archive": "Move to Archive",
|
||||
"archive-all": "Move All to Archive",
|
||||
"archive-board": "Move Board to Archive",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue