-
Task
-
Resolution: Unresolved
-
Minor
Problem
== Inline Script Block Line: 74 ---- <script> document.addEventListener("DOMContentLoaded",function(){ onload(); var img = document.createElement("img"); img.src="${resURL}/plugin/mentor-questa-vrm/icons/mentorlogo.png" img.height="14" img.title="Mentor Graphics" img.alt="[mentor logo]" document.getElementById("title-${it.id}").insertBefore( img, document.getElementById("title-${it.id}").childNodes[0]); }); </script> ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
[JENKINS-74497] [mentor-questa-vrm] Extract inline script block in com/mentor/questa/vrm/jenkins/QuestaVrmPortlet/table.jelly
Assignee | Original: Questa Vrm [ questa_vrm ] |
Description |
Original:
h4. Problems {noformat} == Inline Script Block Line: 74 ---- <script> document.addEventListener("DOMContentLoaded",function(){ onload(); var img = document.createElement("img"); img.src="${resURL}/plugin/mentor-questa-vrm/icons/mentorlogo.png" img.height="14" img.title="Mentor Graphics" img.alt="[mentor logo]" document.getElementById("title-${it.id}").insertBefore( img, document.getElementById("title-${it.id}").childNodes[0]); }); </script> ---- == Inline Script Block Line: 74 ---- <script> document.addEventListener("DOMContentLoaded",function(){ onload(); var img = document.createElement("img"); img.src="${resURL}/plugin/mentor-questa-vrm/icons/mentorlogo.png" img.height="14" img.title="Mentor Graphics" img.alt="[mentor logo]" document.getElementById("title-${it.id}").insertBefore( img, document.getElementById("title-${it.id}").childNodes[0]); }); </script> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
New:
h4. Problem {noformat} == Inline Script Block Line: 74 ---- <script> document.addEventListener("DOMContentLoaded",function(){ onload(); var img = document.createElement("img"); img.src="${resURL}/plugin/mentor-questa-vrm/icons/mentorlogo.png" img.height="14" img.title="Mentor Graphics" img.alt="[mentor logo]" document.getElementById("title-${it.id}").insertBefore( img, document.getElementById("title-${it.id}").childNodes[0]); }); </script> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
Summary | Original: [mentor-questa-vrm] Extract inline script blocks in com/mentor/questa/vrm/jenkins/QuestaVrmPortlet/table.jelly | New: [mentor-questa-vrm] Extract inline script block in com/mentor/questa/vrm/jenkins/QuestaVrmPortlet/table.jelly |