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);
}); });
if (recipients.length) {
input.val(''); input.val('');
apply_func(); apply_func();
return true;
return recipients.length > 0; }
}, },
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