diff options
author | NavaL <mnandri@thoughtworks.com> | 2016-01-11 18:37:03 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2016-01-11 18:37:03 +0100 |
commit | c28bdb520cc4ea1249d5a2953d9f78d40dd10806 (patch) | |
tree | dcf9fd931785d27c966b6cecbcc389c8abbb0d9b /web-ui/app/js/mixins | |
parent | 0c6c8bed304884ab5f3ade69fb0d68d2cbe043e6 (diff) |
auto save draft on adding attachment, within timeout
Issue #573
Diffstat (limited to 'web-ui/app/js/mixins')
-rw-r--r-- | web-ui/app/js/mixins/with_mail_edit_base.js | 1 |
1 files changed, 1 insertions, 0 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 d078c582..d7da4680 100644 --- a/web-ui/app/js/mixins/with_mail_edit_base.js +++ b/web-ui/app/js/mixins/with_mail_edit_base.js @@ -107,6 +107,7 @@ define( this.enableAutoSave = function () { 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)); DraftSaveStatus.attachTo(this.select('draftSaveStatus')); }; |