From c4a3e98123b84d8f6d42546982be73f916b1d2df Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 29 Mar 2018 10:16:51 +0200 Subject: [PATCH] Fix initial value in oo apps --- www/common/onlyoffice/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !== "") {