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

[snowglobe] Extract inline event handlers in com/nirima/snowglobe/jenkins/actions/SnowGlobeAction/index.jelly

      Problems

      == Inline Event Handler
      Line: 35
      ----
      <input type="button" value="Apply" onclick="apply('${res.id}')">
      ----
      
      == Inline Event Handler
      Line: 36
      ----
      <input type="button" value="Destroy" onclick="destroy('${res.id}')">
      ----
      

      Solution

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

          [JENKINS-74693] [snowglobe] Extract inline event handlers in com/nirima/snowglobe/jenkins/actions/SnowGlobeAction/index.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Assignee Original: magnayn [ magnayn ]
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Inline Event Handler
          Line: 35
          ----
          <input type="button" value="Apply" onclick="apply('${res.id}')">
          ----

          == Inline Event Handler
          Line: 36
          ----
          <input type="button" value="Destroy" onclick="destroy('${res.id}')">
          ----

          == Inline Event Handler
          Line: 35
          ----
          <input type="button" value="Apply" onclick="apply('${res.id}')">
          ----

          == Inline Event Handler
          Line: 36
          ----
          <input type="button" value="Destroy" onclick="destroy('${res.id}')">
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers]
          New: h4. Problems

          {noformat}
          == Inline Event Handler
          Line: 35
          ----
          <input type="button" value="Apply" onclick="apply('${res.id}')">
          ----

          == Inline Event Handler
          Line: 36
          ----
          <input type="button" value="Destroy" onclick="destroy('${res.id}')">
          ----
          {noformat}

          h4. 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: