Remove extra saving as draft

This commit is contained in:
Hadi Nategh 2019-08-19 10:26:21 +02:00
parent 7496fbb66e
commit 193a8847b9

View File

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