Skip to content

Commit a641a8f

Browse files
Aggiunta setting che impedisce invio di più messaggi
1 parent 27528cc commit a641a8f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

welcome.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
a.button { display: inline-block; padding: 10px 14px; background: #0969da; color: #fff; border-radius: 6px; text-decoration: none; cursor: pointer; }
1313
a.button:hover { background: #0758b7; }
1414
a.button.disabled { background: #ccc; cursor: not-allowed; }
15+
1516
</style>
1617
</head>
1718
<body>
@@ -54,8 +55,13 @@ <h1 id="welcome-message">Benvenuto!</h1>
5455
try {
5556
const userEmail = localStorage.getItem('email') || '';
5657
console.log("1. Email recuperata:", userEmail);
58+
//sezione setting
59+
//setting lingua
60+
embeddedservice_bootstrap.settings.language = 'it'; //va passata per ogni sito con lingua diversa da Italiano
61+
// imposta falsee per bloccare la scrittura da parte dell'utente mentre che l'agente sta rispondendo
62+
embeddedservice_bootstrap.settings.enableUserInputForConversationWithBot = false;
63+
5764

58-
embeddedservice_bootstrap.settings.language = 'it';
5965

6066

6167
// Evento

0 commit comments

Comments
 (0)