Save the composed mail before it gets sent

This commit is contained in:
Hadi Nategh 2019-04-29 13:02:33 +02:00
parent 262991ac2b
commit 98b9de516d

View File

@ -5299,6 +5299,7 @@ app.classes.mail = AppJS.extend(
{
if (this.compose_integrate_submit() && _action) return false;
if (_action.id == 'send') this.saveAsDraft(null, 'autosaving');
if (this.mailvelope_editor)
{
var self = this;