Commit 1c9116d1 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix reset canStartCoAuthoring and canUnlockDocument

parent 1b38877a
...@@ -1439,9 +1439,9 @@ var editor; ...@@ -1439,9 +1439,9 @@ var editor;
this.canUnlockDocument2 = this.canUnlockDocument; this.canUnlockDocument2 = this.canUnlockDocument;
if (this.canUnlockDocument && this.canStartCoAuthoring) { if (this.canUnlockDocument && this.canStartCoAuthoring) {
this.CoAuthoringApi.onStartCoAuthoring(true); this.CoAuthoringApi.onStartCoAuthoring(true);
}
this.canStartCoAuthoring = false; this.canStartCoAuthoring = false;
this.canUnlockDocument = false; this.canUnlockDocument = false;
}
AscCommon.CollaborativeEditing.Clear_CollaborativeMarks(); AscCommon.CollaborativeEditing.Clear_CollaborativeMarks();
// Принимаем чужие изменения // Принимаем чужие изменения
......
...@@ -1832,9 +1832,9 @@ background-repeat: no-repeat;\ ...@@ -1832,9 +1832,9 @@ background-repeat: no-repeat;\
this.canUnlockDocument2 = this.canUnlockDocument; this.canUnlockDocument2 = this.canUnlockDocument;
if (this.canUnlockDocument && this.canStartCoAuthoring) { if (this.canUnlockDocument && this.canStartCoAuthoring) {
this.CoAuthoringApi.onStartCoAuthoring(true); this.CoAuthoringApi.onStartCoAuthoring(true);
}
this.canStartCoAuthoring = false; this.canStartCoAuthoring = false;
this.canUnlockDocument = false; this.canUnlockDocument = false;
}
if (c_oAscCollaborativeMarksShowType.LastChanges === this.CollaborativeMarksShowType) if (c_oAscCollaborativeMarksShowType.LastChanges === this.CollaborativeMarksShowType)
{ {
......
...@@ -1795,9 +1795,9 @@ background-repeat: no-repeat;\ ...@@ -1795,9 +1795,9 @@ background-repeat: no-repeat;\
this.canUnlockDocument2 = this.canUnlockDocument; this.canUnlockDocument2 = this.canUnlockDocument;
if (this.canUnlockDocument && this.canStartCoAuthoring) { if (this.canUnlockDocument && this.canStartCoAuthoring) {
this.CoAuthoringApi.onStartCoAuthoring(true); this.CoAuthoringApi.onStartCoAuthoring(true);
}
this.canStartCoAuthoring = false; this.canStartCoAuthoring = false;
this.canUnlockDocument = false; this.canUnlockDocument = false;
}
if (c_oAscCollaborativeMarksShowType.LastChanges === this.CollaborativeMarksShowType) if (c_oAscCollaborativeMarksShowType.LastChanges === this.CollaborativeMarksShowType)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment