Skip to content

Commit

Permalink
[JENKINS-68730] Plugin manager selection mode unselects updated plugi…
Browse files Browse the repository at this point in the history
…ns (#6684)
  • Loading branch information
benebsiny authored Jun 26, 2022
1 parent 6e4da5a commit 1925353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/hudson/PluginManager/_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function checkPluginsWithoutWarnings() {
var inputs = document.getElementsByTagName('input');
for(var i = 0; i < inputs.length; i++) {
var candidate = inputs[i];
if(candidate.type === "checkbox") {
if(candidate.type === "checkbox" && !candidate.disabled) {
candidate.checked = candidate.dataset.compatWarning === 'false';
}
}
Expand Down
2 changes: 1 addition & 1 deletion war/src/main/webapp/scripts/hudson-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ function buildFormTree(form) {
var toggleCheckboxes = function(toggle) {
var inputs = document.getElementsByTagName("input");
for(var i=0; i<inputs.length; i++) {
if(inputs[i].type === "checkbox") {
if(inputs[i].type === "checkbox" && !inputs[i].disabled) {
inputs[i].checked = toggle;
}
}
Expand Down

0 comments on commit 1925353

Please sign in to comment.