Small fix in update_func of recipient-input

pull/5742/merge
Aleksander Machniak 7 years ago
parent 8826cd3fb5
commit 65a7c1eb34

@ -1978,10 +1978,11 @@ function rcube_elastic_ui()
insert_recipient(this.name, this.email); insert_recipient(this.name, this.email);
}); });
input.val(''); if (recipients.length) {
apply_func(); input.val('');
apply_func();
return recipients.length > 0; return true;
}
}, },
parse_func = function(e) { parse_func = function(e) {
// Note it can be also executed when autocomplete inserts a recipient // Note it can be also executed when autocomplete inserts a recipient

Loading…
Cancel
Save