mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-01 17:34:59 +08:00
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:
commit
61f9acb9fa
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue