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
41ef927b
Commit
41ef927b
authored
Jun 29, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] when customization.showReviewChanges == true "track revisions" mode must be off.
parent
1cb269d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apps/documenteditor/main/app/controller/Statusbar.js
apps/documenteditor/main/app/controller/Statusbar.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Statusbar.js
View file @
41ef927b
...
@@ -205,7 +205,7 @@ define([
...
@@ -205,7 +205,7 @@ define([
}
else
{
}
else
{
var
iconEl
=
$
(
'
.btn-icon
'
,
this
.
statusbar
.
btnReview
.
cmpEl
);
var
iconEl
=
$
(
'
.btn-icon
'
,
this
.
statusbar
.
btnReview
.
cmpEl
);
(
this
.
api
.
asc_HaveRevisionsChanges
())
?
iconEl
.
removeClass
(
this
.
statusbar
.
btnReviewCls
).
addClass
(
'
btn-ic-changes
'
)
:
iconEl
.
removeClass
(
'
btn-ic-changes
'
).
addClass
(
this
.
statusbar
.
btnReviewCls
);
(
this
.
api
.
asc_HaveRevisionsChanges
())
?
iconEl
.
removeClass
(
this
.
statusbar
.
btnReviewCls
).
addClass
(
'
btn-ic-changes
'
)
:
iconEl
.
removeClass
(
'
btn-ic-changes
'
).
addClass
(
this
.
statusbar
.
btnReviewCls
);
if
(
value
!==
null
&&
parseInt
(
value
)
==
1
)
{
if
(
value
!==
null
&&
parseInt
(
value
)
==
1
&&
!
showChangesPanel
)
{
// when customization.showReviewChanges == true "track revisions" mode must be off!!!
this
.
changeReviewStatus
(
!
this
.
statusbar
.
mode
.
isLightVersion
);
this
.
changeReviewStatus
(
!
this
.
statusbar
.
mode
.
isLightVersion
);
// show tooltip "track changes in this document" and change icon
// show tooltip "track changes in this document" and change icon
if
(
this
.
showTrackChangesTip
&&
!
statusbarIsHidden
){
if
(
this
.
showTrackChangesTip
&&
!
statusbarIsHidden
){
...
...
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