mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
reverted offlinemode. It works but is hackish. Will try a better a cleaner approach. Removed tons a commented code
This commit is contained in:
parent
8921c1976b
commit
36d640d929
2 changed files with 8 additions and 89 deletions
|
@ -206,10 +206,6 @@ function handshake()
|
|||
console.log("sending CLIENT_READY =>");
|
||||
console.log(msg);
|
||||
socket.json.send(msg);
|
||||
if(isReconnect == true)
|
||||
{
|
||||
pad.collabClient.processDisconnectedMessages();
|
||||
}
|
||||
};
|
||||
|
||||
var disconnectTimeout;
|
||||
|
@ -707,10 +703,10 @@ var pad = {
|
|||
{
|
||||
padconnectionstatus.reconnecting();
|
||||
|
||||
/*padeditor.disable();
|
||||
padeditor.disable();
|
||||
padeditbar.disable();
|
||||
paddocbar.disable();
|
||||
padimpexp.disable();*/
|
||||
padimpexp.disable();
|
||||
}
|
||||
else if (newState == "DISCONNECTED")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue