Mail: Fix drag & drop copy action

This commit is contained in:
nathan 2024-10-01 14:40:46 -06:00
parent aaf0054978
commit 029634500d

View File

@ -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