Bug 36868: (follow-up) fix failing tt_kohaTable_tidy.t test
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
d1b39adfc5
commit
3405bb206f
|
|
@ -1622,6 +1622,15 @@
|
|||
</script>
|
||||
[% Asset.js("js/holds.js") | $raw %]
|
||||
[% Asset.js("js/hold-group.js") | $raw %]
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
$(document).ready( function() {
|
||||
[% IF successful_biblionumbers && Koha.Preference('AutoDeleteFromCartWhenHoldPlaced').grep('staff').size %]
|
||||
[% FOREACH success IN successful_biblionumbers.split('\|') %]
|
||||
delSingleRecord('[% success | html %]');
|
||||
[% END %]
|
||||
[% END %]
|
||||
});
|
||||
</script>
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
$(document).ready(function () {
|
||||
$("#patron_holds_table").kohaTable(
|
||||
|
|
@ -2039,12 +2048,6 @@
|
|||
if (!localStorage.selectedHolds || document.referrer.replace(/\?.*/, "") !== document.location.origin + document.location.pathname) {
|
||||
localStorage.selectedHolds = [];
|
||||
}
|
||||
[% IF successful_biblionumbers && Koha.Preference('AutoDeleteFromCartWhenHoldPlaced').grep('staff').size %]
|
||||
[% FOREACH success IN successful_biblionumbers.split('\|') %]
|
||||
delSingleRecord('[% success | html %]');
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
});
|
||||
</script>
|
||||
[% UNLESS patron %]
|
||||
|
|
|
|||
|
|
@ -1097,6 +1097,8 @@
|
|||
delSingleRecord('[% success | html %]');
|
||||
[% END %]
|
||||
[% END %]
|
||||
</script>
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
var AR_CAPTION_COUNT = _("(%s total)");
|
||||
|
||||
function tableInit(tableId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue