From 5a78c23ce9b45c40942e01e052492555b83e5dae 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 (cherry picked from commit b9ca6b4a36c4e211a8ded1cc2be29ce8defbd7e9) Signed-off-by: Lucas Gass (cherry picked from commit 710e002b32a879a6064f103b2caeaf646b2b5ab3) Signed-off-by: Fridolin Somers --- 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 5f8e8eee3e..61ca7f9d57 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 @@ -586,7 +586,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