|
|
@ -571,6 +571,14 @@ define([
|
|
|
|
cpNfInner = common.startRealtime(config);
|
|
|
|
cpNfInner = common.startRealtime(config);
|
|
|
|
metadataMgr = cpNfInner.metadataMgr;
|
|
|
|
metadataMgr = cpNfInner.metadataMgr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cpNfInner.onInfiniteSpinner(function () {
|
|
|
|
|
|
|
|
setEditable(false);
|
|
|
|
|
|
|
|
Cryptpad.confirm(Messages.realtime_unrecoverableError, function (yes) {
|
|
|
|
|
|
|
|
if (!yes) { return; }
|
|
|
|
|
|
|
|
common.gotoURL();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
editor.on('change', onLocal);
|
|
|
|
editor.on('change', onLocal);
|
|
|
|
|
|
|
|
|
|
|
|
Cryptpad.onLogout(function () { setEditable(false); });
|
|
|
|
Cryptpad.onLogout(function () { setEditable(false); });
|
|
|
|