Bug 42278: Fix JS error
Uncaught SyntaxError: redeclaration of non-configurable global property ClaimReturnedLostValue Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
dd918e0de1
commit
cb47e6fad7
|
|
@ -347,7 +347,7 @@
|
|||
[% INCLUDE 'js-date-format.inc' %]
|
||||
[% PROCESS 'modal-claims-js' %]
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]" data-tt-allowed="true">
|
||||
const ClaimReturnedLostValue = [% Koha.Preference('ClaimReturnedLostValue') ? 1 : 0 | html %];
|
||||
var ClaimReturnedLostValue = [% Koha.Preference('ClaimReturnedLostValue') ? 1 : 0 | html %];
|
||||
var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %];
|
||||
</script>
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
|
|
|
|||
Loading…
Reference in New Issue