diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index 3a8a08c699c09d33f665373607ad970722b83d6d..7d7241f3aab1c5531488cfc443a7b51f2bbc3073 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -751,6 +751,7 @@ var jenkinsRules = { row.setAttribute("nameref",nameRef); // to handle inner rowSets, don't override existing values tr.parentNode.insertBefore(row, $(tr).next()); } + layoutUpdateCallback.call(); }); e = null; // avoid memory leak }, @@ -762,6 +763,7 @@ var jenkinsRules = { link = link.parentNode; link.style.display = "none"; $(link).next().style.display="block"; + layoutUpdateCallback.call(); }); e = null; // avoid memory leak }, @@ -1399,6 +1401,7 @@ var jenkinsRules = { e.onclick = function() { this.style.display = 'none'; $(this).next().style.display = 'block'; + layoutUpdateCallback.call(); return false; }; e = null; // avoid memory leak @@ -1652,6 +1655,7 @@ function updateOptionalBlock(c,scroll) { var tr = findAncestor(homeField, 'TR'); if (tr != null) { tr.style.display = c.checked ? 'none' : ''; + layoutUpdateCallback.call(); } } } @@ -1757,6 +1761,7 @@ function expandTextArea(button,id) { n.parentNode.innerHTML = ""; + layoutUpdateCallback.call(); } // refresh a part of the HTML specified by the given ID, @@ -1972,6 +1977,7 @@ var radioBlockSupport = { while((n = n.next()) != blockEnd) { n.style.display = show ? "" : "none"; } + layoutUpdateCallback.call(); } };