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
2c7ce3d8
Commit
2c7ce3d8
authored
Oct 05, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] Hide MailMerge button when no "editorConfig.fileChoiceUrl" parameter in the config.
parent
704d0fc7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
2c7ce3d8
...
...
@@ -1006,7 +1006,7 @@ define([
this
.
appOptions
.
canUseHistory
=
this
.
appOptions
.
canLicense
&&
!
this
.
appOptions
.
isLightVersion
&&
this
.
editorConfig
.
canUseHistory
&&
this
.
appOptions
.
canCoAuthoring
&&
!
this
.
appOptions
.
isDesktopApp
;
this
.
appOptions
.
canHistoryClose
=
this
.
editorConfig
.
canHistoryClose
;
this
.
appOptions
.
canHistoryRestore
=
this
.
editorConfig
.
canHistoryRestore
&&
!!
this
.
permissions
.
changeHistory
;
this
.
appOptions
.
canUseMailMerge
=
this
.
appOptions
.
canLicense
&&
this
.
appOptions
.
canEdit
&&
/*!this.appOptions.isDesktopApp*/
!
this
.
appOptions
.
isOffline
;
this
.
appOptions
.
canUseMailMerge
=
this
.
appOptions
.
canLicense
&&
this
.
appOptions
.
canEdit
&&
/*!this.appOptions.isDesktopApp*/
!
this
.
appOptions
.
isOffline
&&
!!
this
.
editorConfig
.
fileChoiceUrl
;
this
.
appOptions
.
canSendEmailAddresses
=
this
.
appOptions
.
canLicense
&&
this
.
editorConfig
.
canSendEmailAddresses
&&
this
.
appOptions
.
canEdit
&&
this
.
appOptions
.
canCoAuthoring
;
this
.
appOptions
.
canComments
=
this
.
appOptions
.
canLicense
&&
(
this
.
permissions
.
comment
===
undefined
?
this
.
appOptions
.
isEdit
:
this
.
permissions
.
comment
);
this
.
appOptions
.
canComments
=
this
.
appOptions
.
canComments
&&
!
((
typeof
(
this
.
editorConfig
.
customization
)
==
'
object
'
)
&&
this
.
editorConfig
.
customization
.
comments
===
false
);
...
...
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