From d46245d940df19a141c44a48e4031c616e512a1e Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Fri, 8 Jan 2021 14:41:17 +0100 Subject: [PATCH] Fix per invio email (#923) --- mail.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mail.php b/mail.php index f38f239e5..05f39f594 100755 --- a/mail.php +++ b/mail.php @@ -82,7 +82,7 @@ echo ' '.tr('Destinatari').'
- {[ "type": "email", "name": "destinatari[]", "value": "'.$email.'", "icon-before": "choice|email", "extra": "onkeyup=\'aggiungi_destinatario();\'", "class": "destinatari", "required": 1 ]} + {[ "type": "email", "name": "destinatari[0]", "value": "'.$email.'", "icon-before": "choice|email", "extra": "onkeyup=\'aggiungi_destinatario();\'", "class": "destinatari", "required": 1 ]}
@@ -142,9 +142,9 @@ echo ' '; echo ' -
+'; @@ -192,8 +192,7 @@ echo ' if (last.val()) { cleanup_inputs(); - aggiungiContenuto( "#lista-destinatari", "#lista-destinatari > div.col-md-12:last", { "id": $("#lista-destinatari > div").length, "value": "", "required": false } ); - $("#lista-destinatari > div.input-group:last").wrap( "
" ); + aggiungiContenuto("#lista-destinatari", "#template-destinatario", {"-id-": $("#lista-destinatari > div").length}); $(".destinatari").each(function(){ $(this).autocomplete({source: emails});