Bug 10190: (follow-up) Add missing CSP nonce to inline script tag
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
f2951ab377
commit
fabe480e52
|
|
@ -30,7 +30,7 @@
|
|||
<!-- FIXME: this shouldn't be needed -->
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
[% INCLUDE 'js-date-format.inc' %]
|
||||
<script>
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
const letters = [% To.json(letters) | $raw %];
|
||||
const default_view = "[%- IF Koha.Preference('DefaultToLoggedInLibraryOverdueTriggers') -%][% Branches.GetLoggedInBranchcode | html %][%- ELSE -%]*[%- END -%]";
|
||||
const from_branch = "[% Koha.Preference('OverdueNoticeFrom') | html %]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue