Mail: Fix drag & drop copy action

This commit is contained in:
nathan 2024-10-01 14:40:46 -06:00
parent 1e277b2460
commit 6b69bc7136

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