mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 12:32:15 +00:00
Attempt at a fix for the test
This commit is contained in:
1 parent
3a05e63a64
commit
b8564fad1b
1 file changed
+6
-3
@@ -106,9 +106,12 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}
|
||||
|
||||
function cleanCopyFromOption() {
|
||||
document
|
||||
.querySelector('#createItem input[type="radio"][value="copy"]')
|
||||
.removeAttribute("checked");
|
||||
const copyRadio = document.querySelector(
|
||||
'#createItem input[type="radio"][value="copy"]',
|
||||
);
|
||||
if (copyRadio) {
|
||||
copyRadio.removeAttribute("checked");
|
||||
}
|
||||
document.querySelector(
|
||||
'#createItem input[type="text"][name="from"]',
|
||||
).value = "";
|
||||
|
||||
Reference in new issue
Block a user