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

[agent-server-parameter] Extract inline script block in com/bluersw/AgentParameterDefinition/index.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 15
      ----
      <script type="text/javascript">
      			var parentDiv = jQuery('#${it.divId}');
      			var nameHidden = parentDiv.find('#name_${it.divId}');
      			var requestBasicUrl = "${h.getCurrentDescriptorByNameUrl()}/${it.descriptor.descriptorUrl}/setDefaultValue?name=" + nameHidden.val();
      			bindOnChange(parentDiv,requestBasicUrl);
      		</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: