|
|
@ -739,7 +739,7 @@ define([
|
|
|
|
setEditable(false);
|
|
|
|
setEditable(false);
|
|
|
|
// TODO inform them that the session was torn down
|
|
|
|
// TODO inform them that the session was torn down
|
|
|
|
toolbar.failed();
|
|
|
|
toolbar.failed();
|
|
|
|
Cryptpad.alert(Messages.disconnectAlert);
|
|
|
|
Cryptpad.alert(Messages.common_connectionLost);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var onConnectionChange = realtimeOptions.onConnectionChange = function (info) {
|
|
|
|
var onConnectionChange = realtimeOptions.onConnectionChange = function (info) {
|
|
|
@ -750,7 +750,7 @@ define([
|
|
|
|
toolbar.reconnecting(info.myId);
|
|
|
|
toolbar.reconnecting(info.myId);
|
|
|
|
Cryptpad.findOKButton().click();
|
|
|
|
Cryptpad.findOKButton().click();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Cryptpad.alert(Messages.disconnectAlert);
|
|
|
|
Cryptpad.alert(Messages.common_connectionLost);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|