-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: talend-plugin
Problems
== Inline Script Block
Line: 36
----
<script>
/* Initialize dropdowns
wait a little bit for the DOM to load
*/
setTimeout(function(){
changeArtifactType(${promotionId}, document.getElementById('artifacttype-' + ${promotionId}).querySelector('select').value)
}, 50)
</script>
----
== Inline Event Handler
Line: 11
----
<f:select field="artifactType" default="" title="${%ArtifactType}" description="${%ArtifactTypeDescr}" onload="changeArtifactType(${promotionId}, value)" onchange="changeArtifactType(${promotionId}, value)" checkMethod="post" />
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers