mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-07 16:09:57 +08:00
Set nonce for new and edit result table inline javascript [SCI-9057]
This commit is contained in:
parent
acb1a034a8
commit
6d8e4670f1
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…
Reference in a new issue