From 6b69bc71362d6d9162b57aa4947e2acbe4dfa394 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 1 Oct 2024 14:40:46 -0600 Subject: [PATCH] Mail: Fix drag & drop copy action --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index a7bd51f436..c5c711f7b9 100755 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -3768,7 +3768,7 @@ app.classes.mail = AppJS.extend( * @param _allMessagesChecked */ mail_callCopy: function(_action,_senders,_target,_allMessagesChecked) { - var target = _action.id == 'drop_copy_mail' ? _target.iface.id : _action.id.substr(5); + var target = _action.id == 'drop_copy_mail' ? _target.id : _action.id.substr(5); var messages = this.mail_getFormData(_senders); if (typeof _allMessagesChecked=='undefined') _allMessagesChecked=false; // TODO: Write move/copy function which cares about doing the same stuff