Skip to content

Commit

Permalink
Updated Paragraph as it induced a bug in presentations
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezrafla committed Feb 27, 2020
1 parent c87679d commit 55ee970
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ slide/themes/themes.js
*~
.DS_Store
/deploy
/build
cell/sdk-all.props.js.map
cell/sdk-all.vars.js.map
slide/sdk-all.props.js.map
Expand Down
2 changes: 1 addition & 1 deletion build-docker.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
CONTAINER=onlyoffice-document-server
cd build
grunt --level=WHITESPACE_ONLY --formatting=PRETTY_PRINT
grunt --level=WHITESPACE_ONLY --noclosure=true --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
Expand Down
19 changes: 6 additions & 13 deletions build-remote.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
#!/bin/bash
KEY=~/.ssh/ec2.pem
[email protected]:/var/www/onlyoffice/documentserver/sdkjs
[email protected]:/var/www/onlyoffice/documentserver/
export PRODUCT_VERSION="15.2.0"
export BUILD_NUMBER="111"
cd build
grunt
cd ../deploy/sdkjs/
echo Pushing common
scp -i $KEY -r common $SERVER/
echo Pushing Document
scp -i $KEY word/sdk-all.js $SERVER/word
scp -i $KEY word/sdk-all-min.js $SERVER/word
echo Pushing Presentation
scp -i $KEY slide/sdk-all.js $SERVER/slide
scp -i $KEY slide/sdk-all-min.js $SERVER/slide
echo Pushing Sheet
scp -i $KEY cell/sdk-all.js $SERVER/cell
scp -i $KEY cell/sdk-all-min.js $SERVER/cell
cd ..
cd deploy/
scp -i $KEY -r sdkjs $SERVER
2 changes: 1 addition & 1 deletion word/Editor/Paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -16022,7 +16022,7 @@ function CParagraphStartState(Paragraph)
this.TextPr = Paragraph.TextPr;
this.Content = Paragraph.Content.slice()
this.DisplayContent = this.Content.slice()
this.UpdateContentIndexing()
this.UpdateContentIndexing && this.UpdateContentIndexing()
}

function CParagraphTabsCounter()
Expand Down

0 comments on commit 55ee970

Please sign in to comment.