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

[custom-folder-icon] Extract inline event handler in jenkins/plugins/foldericon/IoniconFolderIcon/config.jelly

    • 2.15

      Problem

      == Inline Event Handler
      Line: 36
      ----
      <a id="select-ionicon-${icon.key}" class="ionicon-icon-selection" onclick="setIoniconIcon('${icon.key}')">
      ----
      

      Solution

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

          [JENKINS-74257] [custom-folder-icon] Extract inline event handler in jenkins/plugins/foldericon/IoniconFolderIcon/config.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Assignee Original: Daniel Krämer [ strangelookingnerd ]
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Inline Event Handler
          Line: 36
          ----
          <a id="select-ionicon-${icon.key}" class="ionicon-icon-selection" onclick="setIoniconIcon('${icon.key}')">
          ----

          == Inline Event Handler
          Line: 36
          ----
          <a id="select-ionicon-${icon.key}" class="ionicon-icon-selection" onclick="setIoniconIcon('${icon.key}')">
          ----
          {noformat}

          h4. Solution

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

          {noformat}
          == Inline Event Handler
          Line: 36
          ----
          <a id="select-ionicon-${icon.key}" class="ionicon-icon-selection" onclick="setIoniconIcon('${icon.key}')">
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers]
          Summary Original: [custom-folder-icon] Extract inline event handlers in jenkins/plugins/foldericon/IoniconFolderIcon/config.jelly New: [custom-folder-icon] Extract inline event handler in jenkins/plugins/foldericon/IoniconFolderIcon/config.jelly
          Daniel Krämer made changes -
          Assignee New: Daniel Krämer [ strangelookingnerd ]
          Daniel Krämer made changes -
          Released As New: 2.15
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            strangelookingnerd Daniel Krämer
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: