Fix initial value of recipient input

pull/5742/merge
Aleksander Machniak 8 years ago
parent 13ddd70f53
commit 671d53e4f4

@ -2239,15 +2239,14 @@ function rcube_elastic_ui()
.on('change', function(e) {
$('span.recipient', area).remove();
input.val(this.value).change();
});
})
// copy and parse the value already set
.change();
// this one line is here to fix border of Bootstrap's input-group,
// input-group should not contain any hidden elements
$(obj).detach().insertBefore(area.parent());
// Copy and parse the value already set
input.text($(obj).val()).change();
if (rcmail.env.autocomplete_threads > 0) {
ac_props = {
threads: rcmail.env.autocomplete_threads,

Loading…
Cancel
Save