summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-11-25 16:16:58 -0200
committerGiovane <giovaneliberato@gmail.com>2015-11-27 15:53:11 -0200
commitc1476b4b1c96996464217444e8cdf5d94d248bea (patch)
tree1637bca8404f5732fdad2c922a7e6f0b390a2efe
parentaea6fe43bc18662f45be8ce64bb009e9b33c69b1 (diff)
Remove display message calls on save draft.
-rw-r--r--web-ui/app/js/mixins/with_mail_edit_base.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/web-ui/app/js/mixins/with_mail_edit_base.js b/web-ui/app/js/mixins/with_mail_edit_base.js
index f6d52eaf..da92ad29 100644
--- a/web-ui/app/js/mixins/with_mail_edit_base.js
+++ b/web-ui/app/js/mixins/with_mail_edit_base.js
@@ -158,7 +158,6 @@ define(
this.trigger(document, events.ui.mail.recipientsUpdated);
if (data.skipSaveDraft) { return; }
- this.attr.silent = true;
var mail = this.buildMail();
this.postponeSaveDraft(mail);
};
@@ -176,17 +175,12 @@ define(
this.cancelPostponedSaveDraft();
this.attr.timeout = window.setTimeout(_.bind(function() {
- this.attr.silent = true;
this.saveDraft(mail);
}, this), this.attr.saveDraftInterval);
};
this.draftSaved = function(event, data) {
this.attr.ident = data.ident;
- if(!this.attr.silent) {
- this.trigger(document, events.ui.userAlerts.displayMessage, { message: i18n('Saved as draft.') });
- }
- delete this.attr.silent;
};
this.validateAnyRecipient = function () {