Mail: Adapt to taglist not following API fix (200aebd171) to drag and drop of email addresses works

This commit is contained in:
nathangray 2021-05-31 10:27:29 -06:00
parent 200aebd171
commit f953d7a3b2

View File

@ -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'));