-
Bug
-
Resolution: Won't Fix
-
Major
-
Jenkins: 2.121.2
Badge Plugin: 1.5
We have a post-build action groovy script that gets evaluated. It reads some files in the workspace, and creates a summary section on the build page. The summary can contain large tables (audit information), and therefore also contains an expand/collapse icon that can be clicked.
We place some simple associated Javascript to handle the clicking.
This works with version 1.4, but does not work with version 1.5
Code:
<script> function hideMe(toggle) { var e = document.getElementById(toggle); e.style.display = (e.style.display != 'none' ? 'none' : ''); } </script>
Notes:
- the javascript code has not changed
- we downgraded to 1.4 (post-ugprade), and it started working again
- the html portion of the code is handled fine (the icon shows up, as does the audit table)
- the scripts are all approved
- we are passing false for the appendText option escapeHtml