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
decc79d7
Commit
decc79d7
authored
Jun 09, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE][PE] Debug commenting in view mode.
parent
afe69c80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
apps/documenteditor/main/app/view/DocumentHolder.js
apps/documenteditor/main/app/view/DocumentHolder.js
+1
-1
apps/presentationeditor/main/app/view/DocumentHolder.js
apps/presentationeditor/main/app/view/DocumentHolder.js
+1
-1
No files found.
apps/documenteditor/main/app/view/DocumentHolder.js
View file @
decc79d7
...
...
@@ -1820,7 +1820,7 @@ define([
var
isInChart
=
(
value
.
imgProps
&&
value
.
imgProps
.
value
&&
!
_
.
isNull
(
value
.
imgProps
.
value
.
get_ChartProperties
()));
menuViewUndo
.
setVisible
(
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewUndo
.
setDisabled
(
/* !me.api.asc_canUndo()*/
);
menuViewUndo
.
setDisabled
(
!
me
.
api
.
asc_getCanUndo
()
);
menuViewCopySeparator
.
setVisible
(
!
isInChart
&&
me
.
api
.
can_AddQuotedComment
()
!==
false
&&
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewAddComment
.
setVisible
(
!
isInChart
&&
me
.
api
.
can_AddQuotedComment
()
!==
false
&&
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewAddComment
.
setDisabled
(
value
.
paraProps
&&
value
.
paraProps
.
locked
===
true
);
...
...
apps/presentationeditor/main/app/view/DocumentHolder.js
View file @
decc79d7
...
...
@@ -1716,7 +1716,7 @@ define([
this
.
viewModeMenu
=
new
Common
.
UI
.
Menu
({
initMenu
:
function
(
value
)
{
menuViewUndo
.
setVisible
(
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewUndo
.
setDisabled
(
/* !me.api.asc_canUndo()*/
);
menuViewUndo
.
setDisabled
(
!
me
.
api
.
asc_getCanUndo
()
);
menuViewCopySeparator
.
setVisible
(
!
value
.
isChart
&&
me
.
api
.
can_AddQuotedComment
()
!==
false
&&
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewAddComment
.
setVisible
(
!
value
.
isChart
&&
me
.
api
.
can_AddQuotedComment
()
!==
false
&&
me
.
mode
.
canCoAuthoring
&&
me
.
mode
.
canComments
);
menuViewAddComment
.
setDisabled
(
value
.
locked
);
...
...
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