From b9ca6b4a36c4e211a8ded1cc2be29ce8defbd7e9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 4 Jun 2024 14:29:40 +0000 Subject: [PATCH] Bug 37026: Fix JS error on sco-main.tt To test: 1. Have a patron with some checkouts, holds, and charges that can login into the SCO module. 2. To go sco-main.pl and login 3. Try changing tabs and notice the console error: dataTables is not defined 4. APPLY PATCH 5. Try again, there should be no error. 6. Make sure you can switch the tabs without any issues. Signed-off-by: Sam Lau Signed-off-by: Matt Blenkinsop Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index cd369b559d..24c0e194ac 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -598,7 +598,6 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { dTables.DataTable().responsive.recalc(); - dataTables.DataTable().responsive.recalc(); } ); $("#logout_form").on("click", function(e){ -- 2.39.5