@@ -, +, @@ tool --- .../intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt @@ -148,10 +148,10 @@
[% IF patrons_to_delete.size %]
What do you want to do for deleted patrons? - + -
+

@@ -231,6 +231,13 @@ $('#branch').change(function() { $('#selectlibrary').submit(); }); + $("form[name='f2']").on('submit',function(){ + if( $("#delete").attr("checked") ){ + if( !confirm(_("These patrons will be permanently removed from the database and cannot be recovered")) ){ + return false; + } + } + }); }); /** --