mirror of https://github.com/xwiki-labs/cryptpad
Fix fixSheets
This commit is contained in:
parent
84b5741cdf
commit
6edbe019d6
|
@ -269,6 +269,8 @@ define([
|
||||||
// so that the messages we send to the realtime channel are
|
// so that the messages we send to the realtime channel are
|
||||||
// loadable by users joining after the checkpoint
|
// loadable by users joining after the checkpoint
|
||||||
var fixSheets = function () {
|
var fixSheets = function () {
|
||||||
|
var hasDrawings = checkDrawings();
|
||||||
|
if (hasDrawings) { return; } // XXX we need a migration for old sheets...
|
||||||
try {
|
try {
|
||||||
var editor = getEditor();
|
var editor = getEditor();
|
||||||
// if we are not in the sheet app
|
// if we are not in the sheet app
|
||||||
|
|
Loading…
Reference in New Issue