-
Type:
Task
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: global-build-stats-plugin
Problems
== Inline Script Block
Line: 6
----
<script type="text/javascript">
document.getElementById('${strategy.id}_checkbox').onchange = function(){
document.getElementById('${strategy.id}_days').disabled = !document.getElementById('${strategy.id}_checkbox').checked;
}
document.getElementById('${strategy.id}_checkbox').onchange(); // For initialization
</script>
----
== Inline Script Block
Line: 6
----
<script type="text/javascript">
document.getElementById('${strategy.id}_checkbox').onchange = function(){
document.getElementById('${strategy.id}_days').disabled = !document.getElementById('${strategy.id}_checkbox').checked;
}
document.getElementById('${strategy.id}_checkbox').onchange(); // For initialization
</script>
----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
- links to