@@ -, +, @@ template --- .../intranet-tmpl/prog/en/js/pages/circulation.js | 3 --- .../prog/en/modules/circ/circulation.tt | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js @@ -112,9 +112,6 @@ function export_checkouts(format) { $("#dont_export_item").val(0); } else if (format == 'iso2709') { $("#dont_export_item").val(1); - } else if (format === '') { - alert(MSG_DEFINE_CSV_FORMAT); - return false; } document.issues.action="/cgi-bin/koha/tools/export.pl"; document.getElementById("export_format").value = format; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -16,7 +16,7 @@ // CSV export profiles) and fill the 'ExportWithCsvProfile' system preference"); + [% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] [% IF ( UseTablesortForCirc ) %]$.tablesorter.addParser({ id: 'articles', @@ -813,9 +813,7 @@ No patron matched [% message %] [% IF ( export_with_csv_profile ) %] - - [% ELSE %] - + [% END %] --