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

[atlassian-jira-software-cloud] Extract inline event handlers in com/atlassian/jira/cloud/jenkins/configuration/config.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 62
      ----
      <a href="#" class="edit-site-icon" onclick="editSite(${loop.index}); return false;">
      ----
      
      == Inline Event Handler
      Line: 65
      ----
      <a href="#" onclick="removeSite(${loop.index}); return false;">
      ----
      
      == Inline Event Handler
      Line: 78
      ----
      <input type="button" id="showSiteButton" value="Add Site" class="show-site-button" onclick="showSiteInputs();" />
      ----
      
      == Inline Event Handler
      Line: 103
      ----
      <input type="button" value="Cancel" class="cancel-site-edit-btn" onclick="hideSiteInputs();" />
      ----
      
      == Inline Event Handler
      Line: 112
      ----
      <div class="advanced-options-accordian" onclick="toggleAdvancedOptions();">
      ----
      
      == Inline Event Handler
      Line: 132
      ----
      <input type="button" value="Validate Regex" onclick="validateAutoBuildsRegex();" class="validate-regex-btn" />
      ----
      
      == Inline Event Handler
      Line: 143
      ----
      <input type="button" value="Validate Regex" onclick="validateAutoDeploymentsRegex();" class="validate-regex-btn" />
      ----
      

      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: