Elastic: Fix recipient input from autocomplete list using Enter key

pull/6486/head
Aleksander Machniak 6 years ago
parent 49c66e3805
commit 33bf85f75c

@ -2983,7 +2983,7 @@ function rcube_elastic_ui()
return false; return false;
} }
// Here we add a recipient box when the separator (,;) or Enter was pressed // Here we add a recipient box when the separator (,;) or Enter was pressed
else if (e.key == ',' || e.key == ';' || e.key == 'Enter') { else if (e.key == ',' || e.key == ';' || (e.key == 'Enter' && !rcmail.ksearch_visible())) {
if (update_func()) { if (update_func()) {
return false; return false;
} }

Loading…
Cancel
Save