mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Revert "Fix ID collison and add feedback if it happens again"
This reverts commit 2ed07f1c26.
This commit is contained in:
parent
17cf6e1ae7
commit
924db1b4f1
@ -565,7 +565,7 @@ define([
|
||||
isLockedModal.modal = UI.openCustomModal(isLockedModal.content);
|
||||
}
|
||||
myUniqueOOId = undefined;
|
||||
myIndex = undefined;
|
||||
// myIndex = undefined; TODO enable fix
|
||||
setMyId();
|
||||
|
||||
if (APP.docEditor) { APP.docEditor.destroyEditor(); } // Kill the old editor
|
||||
@ -2630,10 +2630,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
||||
return;
|
||||
}
|
||||
|
||||
const onCorruptionWarning = Util.once((id) => {
|
||||
console.log('id collision in document', id);
|
||||
Feedback.send('OFFICE_DOCUMENT_ID_COLLISION', true);
|
||||
});
|
||||
const onCorruptionWarning = Util.once((id) => console.log('XXX id collision', id));
|
||||
|
||||
APP.docEditor.connectMockServer({
|
||||
onMessage: fromOOHandler,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user