Fix destinatari su popup email

This commit is contained in:
Fabio Lovato 2020-12-31 12:35:42 +01:00
parent bab0e74a0c
commit 464053b2b4
1 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,8 @@ echo '
if (last.val()) { if (last.val()) {
cleanup_inputs(); cleanup_inputs();
$("#lista-destinatari").append($("#destinatari_input").html()); aggiungiContenuto( "#lista-destinatari", "#lista-destinatari > div.col-md-12:last", { "id": parseInt( Math.random()*1000000 ), "value": "" } );
$("#lista-destinatari > div.input-group:last").wrap( "<div class=\"col-md-12\"></div>" );
$(".destinatari").each(function(){ $(".destinatari").each(function(){
$(this).autocomplete({source: emails}); $(this).autocomplete({source: emails});