-
Task
-
Resolution: Unresolved
-
Minor
Problem
== Inline Script Block Line: 15 ---- <script> if(document.getElementById('main-table')) { document.getElementById('main-table').style.backgroundImage = 'none'; } document.getElementById('main-panel').classList.add('chuck-style'); </script> ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
[JENKINS-74157] [chucknorris] Extract inline script block in hudson/plugins/chucknorris/RoundhouseAction/summary.jelly
Assignee | Original: Baptiste Mathus [ batmat ] |
Description |
Original:
h4. Problems {noformat} == Inline Script Block Line: 15 ---- <script> if(document.getElementById('main-table')) { document.getElementById('main-table').style.backgroundImage = 'none'; } document.getElementById('main-panel').classList.add('chuck-style'); </script> ---- == Inline Script Block Line: 15 ---- <script> if(document.getElementById('main-table')) { document.getElementById('main-table').style.backgroundImage = 'none'; } document.getElementById('main-panel').classList.add('chuck-style'); </script> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
New:
h4. Problem {noformat} == Inline Script Block Line: 15 ---- <script> if(document.getElementById('main-table')) { document.getElementById('main-table').style.backgroundImage = 'none'; } document.getElementById('main-panel').classList.add('chuck-style'); </script> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
Summary | Original: [chucknorris] Extract inline script blocks in hudson/plugins/chucknorris/RoundhouseAction/summary.jelly | New: [chucknorris] Extract inline script block in hudson/plugins/chucknorris/RoundhouseAction/summary.jelly |