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

[peass-ci] Extract inline script block and event handlers in de/dagere/peass/ci/MeasurementOverviewAction/measurements.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • _unsorted

      Problems

      == Inline Script Block
      Line: 114
      ----
      <script>
                  jq$( "#dialogTValue" ).dialog({ autoOpen: false });
                </script>
      ----
      
      == Inline Event Handler
      Line: 43
      ----
      <a href="#" onClick="jq$('.fullMeasurement').toggle(); window.dispatchEvent(new Event('resize'));">
      ----
      
      == Inline Event Handler
      Line: 97
      ----
      <a href='#' onClick='jq$( "#dialogTValue" ).dialog( "open" );'>
      ----
      

      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: