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

[metrics] Extract inline event handlers in jenkins/metrics/api/MetricsAccessKey/config.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • metrics-plugin

      Problems

      == Inline Event Handler
      Line: 34
      ----
      <button class="jenkins-button" type="button" tabindex="0" data-target-url="${descriptor.descriptorFullUrl}/generateNewToken"
                  onclick="saveApiToken(this)">
      ----
      
      == Inline Event Handler
      Line: 34
      ----
      <button class="jenkins-button" type="button" tabindex="0" data-target-url="${descriptor.descriptorFullUrl}/generateNewToken"
                  onclick="saveApiToken(this)">
      ----
      

      Solution

      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: