-
Type:
Task
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: categorized-view-plugin
-
164.v1c1b_dd4cdb_62
Problems
== Inline Script Block
Line: 50
----
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
restoreJobGroupCollapseState("${view.getViewName()}", "${view.getGroupClassFor(job)}")
});
</script>
----
== Inline Event Handler
Line: 43
----
<tr id="category_${job.name}" class="${job.disabled?'disabledJob':null} job-status-${job.iconColor.iconName} categoryJobRow" category="${job.name}"
categoryRole="category"
onClick="toggleJobGroupVisibility('${view.getViewName()}','${view.getGroupClassFor(job)}')">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
- links to