diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/build-parameters-tooltip.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/build-parameters-tooltip.js new file mode 100644 index 00000000..22702f07 --- /dev/null +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/build-parameters-tooltip.js @@ -0,0 +1,8 @@ +document.addEventListener('DOMContentLoaded', function() { + const buildId = document.querySelector('.build-parameters-trigger-id').dataset.buildId; + jQuery('#build-parameters-trigger-' + buildId).tooltip({ + bodyHandler: function() { + return jQuery('#build-parameters-' + buildId).html(); + }, + }); +}); \ No newline at end of file diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/rowHeader.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/rowHeader.jelly index a2d6c444..1ef0a487 100644 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/rowHeader.jelly +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/AbstractNameValueHeader/rowHeader.jelly @@ -8,7 +8,7 @@