Skip to content

Commit

Permalink
Add nonces to script tags
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam committed Feb 16, 2024
1 parent c730ad9 commit 15cd9a3
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion atlastools/resources/views/dataUploadDashboard.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p>This page shows rolled up information about the assay runs that have been Upload or moved into the following run groups: Approved, Processing.</p>
<div id='intervalForm'></div>

<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">
Ext4.onReady(function(){
var intervalForm = Ext4.create('Ext.form.FormPanel', {
renderTo: 'intervalForm',
Expand Down
2 changes: 1 addition & 1 deletion atlastools/resources/views/recoverNAbFiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
color: red;
}
</style>
<script type="application/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">
Ext4.onReady(function() {
Ext4.create('AtlasTools.NAb.RecoverFiles', {
renderTo: 'recover-nab-files'
Expand Down
2 changes: 1 addition & 1 deletion atlastools/resources/views/recoverNAbFolders.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
color: red;
}
</style>
<script type="application/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">
Ext4.onReady(function() {
Ext4.create('AtlasTools.NAb.RecoverFolders', {
renderTo: 'recover-nab-folders'
Expand Down
4 changes: 2 additions & 2 deletions hdrl/resources/views/HDRL.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul>
<li> <a href="<%=contextPath%>/<%=containerPath%>/hdrl-begin.view">View test requests</a>
<li> <a href="<%=contextPath%>/<%=containerPath%>/hdrl-editRequest.view">Create a new test request</a>
<li> <a href="<%=contextPath%><%=containerPath%>/hdrl-begin.view">View test requests</a>
<li> <a href="<%=contextPath%><%=containerPath%>/hdrl-editRequest.view">Create a new test request</a>
</ul>
2 changes: 1 addition & 1 deletion peptideInventory/resources/views/freezer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">

Ext4.onReady(function(){

Expand Down
2 changes: 1 addition & 1 deletion peptideInventory/resources/views/manage.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">

Ext4.onReady(function(){

Expand Down
2 changes: 1 addition & 1 deletion peptideInventory/resources/views/remainingVials.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

</style>

<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">

Ext4.onReady(function(){

Expand Down
2 changes: 1 addition & 1 deletion viscstudies/resources/views/migrateStudyDesigns.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">

var _migrateControl =
{
Expand Down
2 changes: 1 addition & 1 deletion viscstudies/resources/views/updateStudyProperties.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="text/javascript">
<script type="text/javascript" nonce="<%=scriptNonce%>">
var _studyDesigns = null;
var _studiesByContainer = {};
var _updates = [];
Expand Down

0 comments on commit 15cd9a3

Please sign in to comment.