diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index d53b0cd0a..76b4754df 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -310,7 +310,7 @@ define([ var userDoc = APP.realtime.getUserDoc(); console.log(userDoc); var isNew = false; - var newDoc = ''; + var newDoc = true; if (userDoc === "" || userDoc === "{}") { isNew = true; } if (userDoc !== "") {