mirror of https://github.com/xwiki-labs/cryptpad
Fix reconnect errors in OnlyOffice
This commit is contained in:
parent
d42011bea6
commit
76124ae704
|
@ -2911,7 +2911,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
||||||
|
|
||||||
|
|
||||||
var useNewDefault = content.version && content.version >= 2;
|
var useNewDefault = content.version && content.version >= 2;
|
||||||
openRtChannel(function () {
|
openRtChannel(Util.once(function () {
|
||||||
setMyId();
|
setMyId();
|
||||||
oldHashes = JSON.parse(JSON.stringify(content.hashes));
|
oldHashes = JSON.parse(JSON.stringify(content.hashes));
|
||||||
initializing = false;
|
initializing = false;
|
||||||
|
@ -3069,7 +3069,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
||||||
}
|
}
|
||||||
|
|
||||||
next();
|
next();
|
||||||
});
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
config.onError = function (err) {
|
config.onError = function (err) {
|
||||||
|
|
Loading…
Reference in New Issue