projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b394e
)
Adding [CiviMail Draft] on test mailing (for mosaico)
author
Samuel Vanhove
<samuel@symbiotic.coop>
Fri, 31 Aug 2018 19:54:35 +0000
(15:54 -0400)
committer
Samuel Vanhove
<samuel@symbiotic.coop>
Fri, 31 Aug 2018 19:54:35 +0000
(15:54 -0400)
ang/crmMailing/services.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmMailing/services.js
b/ang/crmMailing/services.js
index 45c206373230e3a0002834b5ec657f8b7a4d0ed2..2c4d6e203ada423d33a7775e7c4d3378f4b22ce3 100644
(file)
--- a/
ang/crmMailing/services.js
+++ b/
ang/crmMailing/services.js
@@
-414,6
+414,9
@@
}
});
+ // clearly indicates that it's a draft mailing
+ params.subject = ts('[CiviMail Draft]') + ' ' + params.subject;
+
// WORKAROUND: Mailing.create (aka CRM_Mailing_BAO_Mailing::create()) interprets scheduled_date
// as an *intent* to schedule and creates tertiary records. Saving a draft with a scheduled_date
// is therefore not allowed. Remove this after fixing Mailing.create's contract.