Commit 29cfa0ff authored by samuelsov's avatar samuelsov

Adding [CiviMail Draft] on test mailing (for mosaico)

parent 21b394ee
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment