mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-29 23:46:10 +00:00
email fixes
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
"label":"",
|
||||
"rows":[
|
||||
[{"name":"dateSent"},{"name":"from"}],
|
||||
[false, {"name":"to"}],
|
||||
[{"name":"parent"}, {"name":"cc"}],
|
||||
[{"name":"parent"}, {"name":"to"}],
|
||||
[false, {"name":"cc"}],
|
||||
[false, {"name":"bcc"}],
|
||||
[{"name":"subject","fullWidth":true}],
|
||||
[{"name":"body","fullWidth":true}],
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
"label":"",
|
||||
"rows":[
|
||||
[{"name":"dateSent", "readOnly": true},{"name":"from", "readOnly": true}],
|
||||
[false, {"name":"to", "readOnly": true}],
|
||||
[{"name":"parent"}, {"name":"cc", "readOnly": true}],
|
||||
[{"name":"parent"}, {"name":"to", "readOnly": true}],
|
||||
[false, {"name":"cc", "readOnly": true}],
|
||||
[false, {"name":"bcc", "readOnly": true}],
|
||||
[{"name":"body","fullWidth":true, "readOnly": true, "customLabel": ""}],
|
||||
[{"name":"attachments", "readOnly": true, "fullWidth":true, "customLabel": ""}]
|
||||
|
||||
@@ -82,7 +82,7 @@ define('views/email/record/edit', ['views/record/edit', 'views/email/record/deta
|
||||
},
|
||||
|
||||
handleCcField: function () {
|
||||
if (!this.model.get('cc')) {
|
||||
if (!this.model.get('cc') && this.model.get('status') !== 'Draft') {
|
||||
this.hideField('cc');
|
||||
} else {
|
||||
this.showField('cc');
|
||||
@@ -90,7 +90,7 @@ define('views/email/record/edit', ['views/record/edit', 'views/email/record/deta
|
||||
},
|
||||
|
||||
handleBccField: function () {
|
||||
if (!this.model.get('bcc')) {
|
||||
if (!this.model.get('bcc') && this.model.get('status') !== 'Draft') {
|
||||
this.hideField('bcc');
|
||||
} else {
|
||||
this.showField('bcc');
|
||||
|
||||
Reference in New Issue
Block a user