From 5efb987eb107dc96e8458e463e3d160f0f55c1aa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 2 Nov 2016 10:31:43 +0000 Subject: [PATCH] Bug 15498: Fix show/hide csv profile list --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 098edb0..eb3b5b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -37,12 +37,12 @@ $(document).ready(function() { }); $("#output_format > option:first-child").attr("selected", "selected"); - $("select[name='csv_profile']").hide(); + $("select[name='csv_profile_id']").hide(); $(document).on("change", '#output_format', function(){ if ( $(this).val() == 'csv' ) { - $("select[name='csv_profile']").show(); + $("select[name='csv_profile_id']").show(); } else { - $("select[name='csv_profile']").hide(); + $("select[name='csv_profile_id']").hide(); } }); -- 2.1.4