From 7beca3498797419ec4a44d997929f08fdc1d2b0a Mon Sep 17 00:00:00 2001 From: shlomomdahan <64103471+shlomomdahan@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:35:19 -0500 Subject: [PATCH] specify pipeline wrapper - fixes onclick issues --- .../hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly | 2 +- .../BuildCardExtension/build-card-template-onclicks.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly index 546e01fb..d50bd9e3 100644 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly @@ -124,7 +124,7 @@ -
+
diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-template-onclicks.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-template-onclicks.js index 8233a9b8..78d6e594 100644 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-template-onclicks.js +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-template-onclicks.js @@ -83,7 +83,7 @@ const onclickElements = { }; document.addEventListener("DOMContentLoaded", function () { - const parentElement = document.querySelector(".pipelines"); + const parentElement = document.querySelector(".main-pipeline-selector"); if (!parentElement) return; Object.entries(onclickElements).forEach(function(entry) {