mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 22:06:46 +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>
|
</button>
|
||||||
<%= f.button t("general.save"),
|
<%= f.button t("general.save"),
|
||||||
class: 'btn btn-primary save-result' %>
|
class: 'btn btn-primary save-result' %>
|
||||||
<%= javascript_include_tag 'results/result_tables/edit' %>
|
<%= javascript_include_tag 'results/result_tables/edit', nonce: true %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</button>
|
</button>
|
||||||
<%= f.button t("result_tables.new.create"),
|
<%= f.button t("result_tables.new.create"),
|
||||||
class: 'btn btn-primary save-result' %>
|
class: 'btn btn-primary save-result' %>
|
||||||
<%= javascript_include_tag 'results/result_tables/new' %>
|
<%= javascript_include_tag 'results/result_tables/new', nonce: true %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue