Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
495928e9
Commit
495928e9
authored
7 years ago
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unLockDocument when co-editing begins, but the document is not fully opened
parent
be0c1957
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cell/api.js
cell/api.js
+1
-1
slide/api.js
slide/api.js
+1
-1
word/api.js
word/api.js
+1
-1
No files found.
cell/api.js
View file @
495928e9
...
...
@@ -1193,7 +1193,7 @@ var editor;
// Когда документ еще не загружен, нужно отпустить lock (при быстром открытии 2-мя пользователями)
if
(
!
t
.
IsSendDocumentLoadCompleate
)
{
t
.
startCollaborationEditing
();
t
.
CoAuthoringApi
.
unLockDocument
(
false
);
t
.
CoAuthoringApi
.
unLockDocument
(
false
,
true
);
}
else
{
// Сохранять теперь должны на таймере автосохранения. Иначе могли два раза запустить сохранение, не дожидаясь окончания
t
.
canUnlockDocument
=
true
;
...
...
This diff is collapsed.
Click to expand it.
slide/api.js
View file @
495928e9
...
...
@@ -974,7 +974,7 @@
t
.
isStartCoAuthoringOnEndLoad
=
true
;
if
(
!
isStartEvent
)
{
// Документ еще не подгрузился, но нужно сбросить lock
t
.
CoAuthoringApi
.
unLockDocument
(
false
);
t
.
CoAuthoringApi
.
unLockDocument
(
false
,
true
);
}
}
};
...
...
This diff is collapsed.
Click to expand it.
word/api.js
View file @
495928e9
...
...
@@ -1197,7 +1197,7 @@ background-repeat: no-repeat;\
t
.
isStartCoAuthoringOnEndLoad
=
true
;
if
(
!
isStartEvent
)
{
// Документ еще не подгрузился, но нужно сбросить lock
t
.
CoAuthoringApi
.
unLockDocument
(
false
);
t
.
CoAuthoringApi
.
unLockDocument
(
false
,
true
);
}
}
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment