@@ -, +, @@ records Test - 1. Go to /cgi-bin/koha/tools/export.pl and locate the Output format form 2. Change the file format from dropdown and notice the change in the 'File name' 3. Type a random name into 'file name' and change 'File format' 4. Notice the change in file name --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -17,6 +17,17 @@ $(document).ready(function() { $("#bibs li.csv_profiles").hide(); } }); + + $('#output_format').change(function(){ + var filename = $('#filename').val(); + var file_name = filename.split("."); + var extension = $(this).val(); + if (extension == "iso2709") { + extension = "mrc"; + } + $('#filename').val(file_name[0] + "." + extension); + }); + }); //]]> --