Merge pull request #5981 from wandji20/wb-SCI-9057

Set nonce for new and edit result table inline Javascript  [SCI-9057]
This commit is contained in:
artoscinote 2023-08-16 09:51:40 +02:00 committed by GitHub
commit 61f9acb9fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
</button>
<%= f.button t("general.save"),
class: 'btn btn-primary save-result' %>
<%= javascript_include_tag 'results/result_tables/edit' %>
<%= javascript_include_tag 'results/result_tables/edit', nonce: true %>
</div>
<% end %>
</div>

View file

@ -16,7 +16,7 @@
</button>
<%= f.button t("result_tables.new.create"),
class: 'btn btn-primary save-result' %>
<%= javascript_include_tag 'results/result_tables/new' %>
<%= javascript_include_tag 'results/result_tables/new', nonce: true %>
</div>
<% end %>
</div>