Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-72196] avoid wrong styling when deleting the first of 2 shell steps #8739

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions war/src/main/webapp/scripts/hudson-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,13 @@ function rowvgStartEachRow(recursive, f) {
}

(function () {
// This moves all link elements to the head
// fixes JENKINS-72196 when a link is inside a div of a repeatable and the
// div is deleted then the styling is lost for divs afterwards.
Behaviour.specify("body link", "move-css-to-head", -9999, function (link) {
document.head.appendChild(link);
});

var p = 20;
Behaviour.specify("TABLE.sortable", "table-sortable", ++p, function (e) {
// sortable table
Expand Down
Loading