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

[list-git-branches-parameter] Extract inline script block in com/syhuang/hudson/plugins/listgitbranchesparameter/ListGitBranchesParameterDefinition/index.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 22
      ----
      <script type="text/javascript">
                      var parentDiv = jQuery('#${divId}');
                      new ListGitBranches.QuickFilter(parentDiv.find('.select').get(0),
                              parentDiv.find('.git_parameter_quick_filter').get(0),
                              "${it.selectedValue}", "${it.defaultValue}");
                  </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

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

              Created:
              Updated: