From f3794a869674062ea6e37fd8777ac62607dbd9ec Mon Sep 17 00:00:00 2001 From: Slava Shishkin Date: Wed, 26 Apr 2023 20:35:00 +0300 Subject: [PATCH] Bug 33590: Fix DOM id name for tabs after WRAPPER code added to serials-collection.tt To test: * Add a subscription * From the subscription detail page, click on serial collection link in left hand navigation * Create some additional issues * "Clear all" link for selecting issues to edit won't work, "Select all" link neither * Apply the patch * * "Clear all" link for selecting issues to edit works now, "Select all" link works too. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/serials/serials-collection.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt index a4f955b4c1..dcf0890885 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt @@ -380,13 +380,13 @@ $(".CheckAll").on("click", function(e){ e.preventDefault(); var years = $(this).data("year"); - $("#subscription-year-" + years + " input:checkbox").prop("checked", true ); + $("#subscription-year-" + years + "_panel" + " input:checkbox").prop("checked", true ); }); $(".CheckNone").on("click", function(e){ e.preventDefault(); var years = $(this).data("year"); - $("#subscription-year-" + years + " input:checkbox").prop("checked", false ); + $("#subscription-year-" + years + "_panel" + " input:checkbox").prop("checked", false ); }); $(".generatenext").on("click", function(e){ -- 2.39.5