diff --git a/mail.php b/mail.php index b0271d110..4b4e7392e 100755 --- a/mail.php +++ b/mail.php @@ -192,7 +192,8 @@ echo ' if (last.val()) { 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( "
" ); $(".destinatari").each(function(){ $(this).autocomplete({source: emails});