Skip to content

Commit

Permalink
remove Inline Event Handler for CSP compatibility
Browse files Browse the repository at this point in the history
fixes JENKINS-74116
fixes JENKINS-74117
  • Loading branch information
sephiroth-j committed Nov 28, 2024
1 parent 36b415c commit d997849
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</l:side-panel>

<l:header>
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap.min.css?v=${it.versionHash}" />
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap-vue.min.css?v=${it.versionHash}" />
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/result-action.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/bootstrap.min.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/bootstrap-vue.min.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/result-action.css?v=${it.versionHash}" />

<script type="text/javascript" src="${resURL}/plugin/dependency-track/js/libs/vue.min.js?v=${it.versionHash}" defer="defer"></script>
<script type="text/javascript" src="${resURL}/plugin/dependency-track/js/libs/bootstrap-vue.min.js?v=${it.versionHash}" defer="defer"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</l:side-panel>

<l:header>
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap.min.css?v=${it.versionHash}" />
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap-vue.min.css?v=${it.versionHash}" />
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/result-action.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/bootstrap.min.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/bootstrap-vue.min.css?v=${it.versionHash}" />
<link rel="stylesheet" href="${resURL}/plugin/dependency-track/css/result-action.css?v=${it.versionHash}" />

<script type="text/javascript" src="${resURL}/plugin/dependency-track/js/libs/vue.min.js?v=${it.versionHash}" defer="defer"></script>
<script type="text/javascript" src="${resURL}/plugin/dependency-track/js/libs/bootstrap-vue.min.js?v=${it.versionHash}" defer="defer"></script>
Expand Down

0 comments on commit d997849

Please sign in to comment.