Fix “Add new domain block” button using last submitted instead of current search value (#22485)
Fixes #22162lolsob-rspec
parent
675fff259a
commit
0ba4a36df0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue