fix emailReplyToAllByDefault
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
"theme": "Theme",
|
||||
"useCustomTabList": "Custom Tab List",
|
||||
"tabList": "Tab List",
|
||||
"replyEmailToAllByDefault": "Reply Email to All by Default"
|
||||
"emailReplyToAllByDefault": "Email Reply to All by Default"
|
||||
},
|
||||
"links": {
|
||||
},
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "replyEmailToAllByDefault"
|
||||
"name": "emailReplyToAllByDefault"
|
||||
},
|
||||
false
|
||||
]
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"view": "views/preferences/fields/tab-list"
|
||||
},
|
||||
"replyEmailToAllByDefault": {
|
||||
"emailReplyToAllByDefault": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ Espo.define('crm:views/record/panels/history', 'crm:views/record/panels/activiti
|
||||
this.getModelFactory().create('Email', function (model) {
|
||||
model.id = id;
|
||||
this.listenToOnce(model, 'sync', function () {
|
||||
var attributes = emailHelper.getReplyAttributes(model, data, this.getPreferences().get('replyEmailToAllByDefault'));
|
||||
var attributes = emailHelper.getReplyAttributes(model, data, this.getPreferences().get('emailReplyToAllByDefault'));
|
||||
this.createView('quickCreate', 'views/modals/compose-email', {
|
||||
attributes: attributes,
|
||||
}, function (view) {
|
||||
|
||||
@@ -51,7 +51,7 @@ Espo.define('views/email/detail', ['views/detail', 'email-helper'], function (De
|
||||
this.addMenuItem('buttons', {
|
||||
name: 'reply',
|
||||
label: 'Reply',
|
||||
action: this.getPreferences().get('replyEmailToAllByDefault') ? 'replyToAll' : 'reply',
|
||||
action: this.getPreferences().get('emailReplyToAllByDefault') ? 'replyToAll' : 'reply',
|
||||
style: 'danger'
|
||||
}, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user