From f953d7a3b2843b0f6fe872878b2e8352e41c10e4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 31 May 2021 10:27:29 -0600 Subject: [PATCH] Mail: Adapt to taglist not following API fix (200aebd171) to drag and drop of email addresses works --- 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 81bb6229a2..b96e8ed1c9 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -5068,7 +5068,7 @@ app.classes.mail = AppJS.extend( var emails, distLists = []; var fromWidget = {}; - var parentWidgetDOM = ui.draggable.parentsUntil('div[id^="mail-compoe_"]','.ui-droppable'); + var parentWidgetDOM = ui.draggable.siblings().filter('input'); if (parentWidgetDOM != 'undefined' && parentWidgetDOM.length > 0) { fromWidget = self.et2.getWidgetById(parentWidgetDOM.attr('name'));