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

XMLWordPrintable

    • Type: Task
    • Resolution: Duplicate
    • Priority: Minor
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: