Bug 41560: Remove id="js" from script tags

Both files
 koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt
 koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt

have
  <script id="js">

That's not needed, useless, and confusing.

Added from those commits for no obvious reasons
catalogue/issuehistory.tt
commit df98c8aaaa
CommitDate: Mon May 14 15:39:44 2012 +0200
    bug_7647: Table sorter on issue history

members/readingrec.tt
commit 77b6409802
CommitDate: Mon Mar 21 20:02:15 2011 +1300
    Bug 5917 : Converted templates

Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 8b532fc8f4)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-01-08 11:42:53 +01:00 committed by Jacob O'Mara
parent a84be7b8ee
commit 359016f26a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
<script id="js">
<script>
$(document).ready(function() {
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %];
[% UNLESS show_patron_column %]

View File

@ -163,7 +163,7 @@
[% INCLUDE 'modals/checkout_renewals.inc' %]
[% INCLUDE 'js-date-format.inc' %]
[% Asset.js("js/checkout_renewals_modal.js") | $raw %]
<script id="js">
<script>
$(document).ready(function() {
[% IF Koha.Preference('RecordStaffUserOnCheckout') %]
// FIXME This cannot work without bKohaColumnsUseNames