mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
[JENKINS-71698] Only disable plugin manager button if none are selected (#8293)
This commit is contained in:
1 parent
3306d5653f
commit
b3342f845c
1 file changed
+4
-2
@@ -92,8 +92,10 @@ function updateInstallButtonState() {
|
||||
const installAfterRestartButton = document.querySelector(
|
||||
"#button-install-after-restart"
|
||||
);
|
||||
installButton.disabled = true;
|
||||
installAfterRestartButton.disabled = true;
|
||||
if (!anyCheckboxesSelected()) {
|
||||
installButton.disabled = true;
|
||||
installAfterRestartButton.disabled = true;
|
||||
}
|
||||
const checkboxes = document.querySelectorAll("input[type='checkbox']");
|
||||
checkboxes.forEach((checkbox) => {
|
||||
checkbox.addEventListener("click", () => {
|
||||
|
||||
Reference in new issue
Block a user