Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74495

[mentor-questa-vrm] Extract inline script block in com/mentor/questa/ucdb/jenkins/QuestaCoverageAction/summary.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 139
      ----
      <script>
      
                  function showDetails(id) {
                  var element = document.getElementById(id)
                  element.style.display = "";
                  document.getElementById(id + "-showlink").style.display = "none";
                  document.getElementById(id + "-hidelink").style.display = "";
      
                  }
      
                  function hideDetails(id) {
                  document.getElementById(id).style.display = "none";
                  document.getElementById(id + "-showlink").style.display = "";
                  document.getElementById(id + "-hidelink").style.display = "none";
                  }
              </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: