mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
Add explanations for more disconnect scenarios
This commit is contained in:
parent
de50efc71a
commit
7f10b9a42f
5 changed files with 56 additions and 10 deletions
|
@ -66,11 +66,11 @@ var padconnectionstatus = (function()
|
|||
};
|
||||
|
||||
var k = String(msg).toLowerCase(); // known reason why
|
||||
if (!(k == 'userdup' || k == 'deleted' || k == 'looping' || k == 'slowcommit' || k == 'initsocketfail' || k == 'unauth'))
|
||||
if (!(k == 'userdup' || k == 'deleted' || k == 'looping' || k == 'slowcommit' || k == 'initsocketfail' || k == 'unauth' || k == 'badChangeset' || k == 'corruptPad'))
|
||||
{
|
||||
k = 'disconnected';
|
||||
}
|
||||
|
||||
|
||||
padmodals.showModal(k);
|
||||
padmodals.showOverlay();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue