Update SVSTaskGate.ps1
This commit is contained in:
@@ -651,6 +651,12 @@ function GetHtmlContent {
|
||||
n8nPasswordInput.addEventListener('input', () => {
|
||||
fetchSitesButton.disabled = n8nPasswordInput.value.length < 4;
|
||||
});
|
||||
// Trigger fetchSites() on Enter key press
|
||||
n8nPasswordInput.addEventListener('keydown', (event) => {
|
||||
if (event.key === 'Enter' && n8nPasswordInput.value.length >= 4) {
|
||||
fetchSites(); // Call the fetchSites function
|
||||
}
|
||||
});
|
||||
|
||||
async function fetchSites() {
|
||||
const password = document.getElementById('n8nPassword').value;
|
||||
|
||||
Reference in New Issue
Block a user