summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mixins/with_mail_edit_base.js
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2016-02-04 23:06:16 -0200
committerJefferson Stachelski <jstachel@thoughtworks.com>2016-02-04 23:54:15 -0200
commit0e443ce40e684c095285efb774fefe3a824413d7 (patch)
treed047b2890690f2d59a4c8cdb19e97c02911abf90 /web-ui/app/js/mixins/with_mail_edit_base.js
parent1d1132e3779cb3a95b6c5685e358d422074741e5 (diff)
Issue #549 - Trigger save draft event after remove attachment
Diffstat (limited to 'web-ui/app/js/mixins/with_mail_edit_base.js')
-rw-r--r--web-ui/app/js/mixins/with_mail_edit_base.js2
1 files changed, 1 insertions, 1 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 d7da4680..41de162c 100644
--- a/web-ui/app/js/mixins/with_mail_edit_base.js
+++ b/web-ui/app/js/mixins/with_mail_edit_base.js
@@ -108,6 +108,7 @@ define(
this.select('bodyBox').on('input', this.monitorInput.bind(this));
this.select('subjectBox').on('input', this.monitorInput.bind(this));
this.on(document, events.mail.appendAttachment, this.monitorInput.bind(this));
+ this.on(document, events.mail.removeAttachment, this.monitorInput.bind(this));
DraftSaveStatus.attachTo(this.select('draftSaveStatus'));
};
@@ -260,4 +261,3 @@ define(
return withMailEditBase;
});
-