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

[radiatorviewplugin] Extract inline script block in hudson/model/RadiatorView/configure-entries.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 72
      ----
      <script>
            (function() {
              Behaviour.specify("#recurse", 'ListView', 0, function(e) {
                var nestedElements = $$('SPAN.nested')
                e.onclick = function() {
                  nestedElements.each(function(el) {
                    e.checked ? el.show() : el.hide();
                  });
                }
              });
            }());
          </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: