summaryrefslogtreecommitdiff
path: root/web-ui/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js')
-rw-r--r--web-ui/app/js/mail_view/ui/attachment_list.js1
-rw-r--r--web-ui/app/js/mixins/with_mail_edit_base.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_view/ui/attachment_list.js b/web-ui/app/js/mail_view/ui/attachment_list.js
index ff7602ec..c8a646af 100644
--- a/web-ui/app/js/mail_view/ui/attachment_list.js
+++ b/web-ui/app/js/mail_view/ui/attachment_list.js
@@ -198,6 +198,7 @@ define(
var success = function() {
this.removeAttachmentFromList(data);
this.destroyAttachmentElement(data);
+ console.log('Success');
};
monitoredAjax(this, '/attachment/' + data.ident, {
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 41de162c..d7da4680 100644
--- a/web-ui/app/js/mixins/with_mail_edit_base.js
+++ b/web-ui/app/js/mixins/with_mail_edit_base.js
@@ -108,7 +108,6 @@ 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'));
};
@@ -261,3 +260,4 @@ define(
return withMailEditBase;
});
+