diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index 9bda8abc9ce4..57a5323ea92a 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -1284,7 +1284,8 @@ function rowvgStartEachRow(recursive,f) { // this is suffixed by a pointless string so that two processing for optional-block-start // can sandwich row-set-end // this requires "TR.row-set-end" to mark rows - var checkbox = e.down().down(); + // Get the `input` from the checkbox container + var checkbox = e.querySelector("input[type='checkbox']") updateOptionalBlock(checkbox,false); });