From 29b7d9f296b852fb3e9eeb23a95bd9d35b686897 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. --- .../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.40.0