Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
web-apps
Commits
311f9d7c
Commit
311f9d7c
authored
Jun 14, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set fast co-editing when commenting in view mode.
parent
0bec1e4a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+3
-0
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+1
-1
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
311f9d7c
...
...
@@ -809,6 +809,9 @@ define([
value
==
'
none
'
?
Asc
.
c_oAscCollaborativeMarksShowType
.
None
:
Asc
.
c_oAscCollaborativeMarksShowType
.
LastChanges
);
else
me
.
api
.
SetCollaborativeMarksShowType
(
me
.
_state
.
fastCoauth
?
Asc
.
c_oAscCollaborativeMarksShowType
.
None
:
Asc
.
c_oAscCollaborativeMarksShowType
.
LastChanges
);
}
else
if
(
!
me
.
appOptions
.
isEdit
&&
me
.
appOptions
.
canComments
)
{
me
.
_state
.
fastCoauth
=
true
;
me
.
api
.
asc_SetFastCollaborative
(
me
.
_state
.
fastCoauth
);
}
else
{
me
.
_state
.
fastCoauth
=
false
;
me
.
api
.
asc_SetFastCollaborative
(
me
.
_state
.
fastCoauth
);
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
311f9d7c
...
...
@@ -588,7 +588,7 @@ define([
}
me
.
_state
.
fastCoauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
);
}
else
me
.
_state
.
fastCoauth
=
false
;
me
.
_state
.
fastCoauth
=
(
!
me
.
appOptions
.
isEdit
&&
me
.
appOptions
.
canComments
)
;
me
.
api
.
asc_SetFastCollaborative
(
me
.
_state
.
fastCoauth
);
/** coauthoring end **/
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
311f9d7c
...
...
@@ -557,7 +557,7 @@ define([
}
this
.
_state
.
fastCoauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
);
}
else
this
.
_state
.
fastCoauth
=
false
;
this
.
_state
.
fastCoauth
=
(
!
this
.
appOptions
.
isEdit
&&
this
.
appOptions
.
canComments
)
;
this
.
api
.
asc_SetFastCollaborative
(
this
.
_state
.
fastCoauth
);
/** coauthoring end **/
...
...
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