enhancement: elastic skin: allow to drag & drop addresses between address input fields during compose message (code simplification)

pull/7345/head
Tomasz Chiliński 4 years ago
parent 682cea5cc5
commit 8db9b8b6e2
No known key found for this signature in database
GPG Key ID: 6792320218DC84E9

@ -3258,8 +3258,8 @@ function rcube_elastic_ui()
items: "> .recipient",
connectWith: '.recipient-input',
receive: function(event, ui) {
list.find('li:not(.recipient)').appendTo(ui.item.parent());
list.find('input').trigger($.Event('keydown', { key: "," }));
input.parent().appendTo(list);
input.trigger($.Event('keydown', { key: "," }));
if (ui.sender) {
ui.sender.find('input').trigger($.Event('keydown', { key: "," }));
}

Loading…
Cancel
Save