diff --git a/build-docker.sh b/build-docker.sh index 7790bde81..d2ac71b76 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -1,7 +1,7 @@ #!/bin/bash CONTAINER=onlyoffice-document-server cd build -grunt --level=WHITESPACE_ONLY --noclosure=true --formatting=PRETTY_PRINT +grunt --level=WHITESPACE_ONLY --formatting=PRETTY_PRINT cd ../deploy/sdkjs/ sudo docker cp word/sdk-all.js $CONTAINER:/var/www/onlyoffice/documentserver/sdkjs/word sudo docker cp word/sdk-all-min.js $CONTAINER:/var/www/onlyoffice/documentserver/sdkjs/word diff --git a/build-remote.sh b/build-remote.sh index b87bdb3a5..6db7bcf16 100755 --- a/build-remote.sh +++ b/build-remote.sh @@ -4,7 +4,7 @@ SERVER=ubuntu@server.office2.io:/var/www/onlyoffice/documentserver/ export PRODUCT_VERSION="15.2.0" export BUILD_NUMBER="111" cd build -grunt +grunt --level=ADVANCED cd .. cd deploy/ scp -i $KEY -r sdkjs $SERVER diff --git a/word/Editor/Paragraph.js b/word/Editor/Paragraph.js index 21a7af686..e0c311dae 100644 --- a/word/Editor/Paragraph.js +++ b/word/Editor/Paragraph.js @@ -1667,7 +1667,8 @@ Paragraph.prototype.Draw = function(CurPage, pGraphics) if (CurItem) { this.CurItem = null this.CurPos.ContentPos = CurItem.DisplayPos - this.LogicDocument.private_UpdateCursorXY() + // to support spreadsheet + this.LogicDocument && this.LogicDocument.private_UpdateCursorXY && this.LogicDocument.private_UpdateCursorXY() } };