Skip to content
Snippets Groups Projects
Unverified Commit a3b24d48 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix “Add new domain block” button using last submitted instead of current search value (#22485)

Fixes #22162
parent 558ac411
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ ready(() => {
}
document.querySelector('a#add-instance-button')?.addEventListener('click', (e) => {
const domain = document.getElementById('by_domain')?.value;
const domain = document.querySelector('input[type="text"]#by_domain')?.value;
if (domain) {
const url = new URL(event.target.href);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment