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

[custom-checkbox-parameter] Extract inline script block in com/bluersw/CheckboxParameterDefinition/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}/";
      			initializationCheckbox(parentDiv,requestBasicUrl,nameHidden.val());
      		</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: