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

[plot] Extract inline script block and event handler in hudson/plugins/plot/PlotReport/index.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • plot-plugin

      Problems

      == Inline Script Block
      Line: 73
      ----
      <script>
                function jump(menu){
                  window.location.hash = menu.value;
                }
              </script>
      ----
      
      == Inline Event Handler
      Line: 78
      ----
      <select name="choice" onChange="jump(this)">
      ----
      

      Solutions

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

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

              Created:
              Updated:
              Resolved: