diff --git a/script.js b/script.js index 579af0d..9947d2b 100644 --- a/script.js +++ b/script.js @@ -104,7 +104,7 @@ function addPizza(id, nome, prezzo){ fetch(apiUrl + "/api/pizze", requestOptions) .then((response) => response.text()) .then((result) => { - alert("Pizza aggiunta con successo!"); + alert("Pizza aggiunta con successo! Ricarica la lista per mostrarla in pagina."); window.close(); }) .catch((error) => {