-
Task
-
Resolution: Duplicate
-
Minor
Problems
== Inline Script Block Line: 39 ---- <script> function refresh(a) { fetch("refresh", { method: "post", headers: crumb.wrap({}), }); hoverNotification('${%Refresh scheduled}',a.parentNode); return true; } </script> ---- == Inline Event Handler Line: 38 ---- <l:task href="." onclick="return refresh(this)" icon="icon-refresh icon-md" title="${%Refresh disk usage}" post="true"/> ---- == Inline Script Block Line: 39 ---- <script> function refresh(a) { fetch("refresh", { method: "post", headers: crumb.wrap({}), }); hoverNotification('${%Refresh scheduled}',a.parentNode); return true; } </script> ---- == Inline Event Handler Line: 38 ---- <l:task href="." onclick="return refresh(this)" icon="icon-refresh icon-md" title="${%Refresh disk usage}" post="true"/> ----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
- duplicates
-
JENKINS-73968 [cloudbees-disk-usage-simple] Extract event handler in QuickDiskUsagePlugin/sidepanel.jelly
- Closed