-
Task
-
Resolution: Unresolved
-
Minor
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
[JENKINS-74276] [radiatorviewplugin] Extract inline script block in hudson/model/RadiatorView/configure-entries.jelly
Assignee | Original: Baptiste Mathus [ batmat ] |
Description |
Original:
h4. Problems {noformat} == 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> ---- == 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> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
New:
h4. Problem {noformat} == 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> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] |
Summary | Original: [radiatorviewplugin] Extract inline script blocks in hudson/model/RadiatorView/configure-entries.jelly | New: [radiatorviewplugin] Extract inline script block in hudson/model/RadiatorView/configure-entries.jelly |