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

[xfpanel] Extract inline event handlers in WEB-INF/classes/maps/hudson/plugin/xfpanel/XFPanelView/configure-entries.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • xfpanel-plugin

      Problems

      == Inline Event Handler
      Line: 53
      ----
      <input name="${job.name}" type="checkbox" 
      								checked="true"
      								 onClick="UpdateJobOptions('${job.name}');"/>
      ----
      
      == Inline Event Handler
      Line: 58
      ----
      <input name="${job.name}" type="checkbox" 
      								onClick="UpdateJobOptions('${job.name}');"/>
      ----
      
      == Inline Event Handler
      Line: 62
      ----
      <label onClick="UpdateJobOptions('${job.name}');">
      ----
      
      == Inline Event Handler
      Line: 71
      ----
      <button type="button" onClick="ChangePriority('up');">
      ----
      
      == Inline Event Handler
      Line: 72
      ----
      <button type="button" onClick="ChangePriority('down');">
      ----
      

      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: