Melora Hugues
1e8b9ef161
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
345 B
JavaScript
11 lines
345 B
JavaScript
let connectorForm = document.getElementById("connectorform");
|
|
|
|
connectorForm.addEventListener("submit", (e) => {
|
|
e.preventDefault();
|
|
|
|
let nextURL = new URL(window.location.href);
|
|
let connectorName = document.getElementById("cname").value;
|
|
nextURL.searchParams.append("connector_id", connectorName)
|
|
|
|
window.location.href = nextURL;
|
|
});
|