From d75e7adfee9214af48f4b9d527b71f44b2a70dd5 Mon Sep 17 00:00:00 2001 From: Slava Shishkin Date: Fri, 28 Apr 2023 16:36:23 +0300 Subject: [PATCH] Bug 33590: Fix DOM id name for tabs after WRAPPER code added to export.tt The list of CSV profiles was not displayed if the CSV format was selected in the output format settings. To test: 1. Go to /cgi-bin/koha/tools/export.pl 2. At the bottom of the page in the Output format, select CSV format. *If CSV format is not active in the drop-down File format menu, create any profile to Usage export records on the link /cgi-bin/koha/tools/csv-profiles.pl 3. Note that the list of CSV profiles is not displayed. 4. Apply the patch. 5. Restart the page and repeat steps 2. 6. Verify that when you select the CSV format, the list of CSV profiles appears. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit a104722b9d4150c48eb4793c123d10e66144a7c7) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index ebd30b6202..59f850f22b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -336,12 +336,12 @@ $("li.csv_profiles").hide(); - $("#bibs select[name='output_format']").on('change', function(){ + $("#bibs_panel select[name='output_format']").on('change', function(){ var format = $(this).val(); if ( format == 'csv' ) { - $("#bibs li.csv_profiles").show(); + $("#bibs_panel li.csv_profiles").show(); } else { - $("#bibs li.csv_profiles").hide(); + $("#bibs_panel li.csv_profiles").hide(); } }); $("#checkall").on("click",function(e){ -- 2.39.5