diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index ddec2b593f..c51c8f1a4c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -136,6 +136,12 @@ function checkMultiHold() { } }); + $(".clear-date").on("click",function(e){ + e.preventDefault(); + var fieldID = this.id.replace("clear-date-",""); + $("#" + fieldID).val(""); + }); + $('#hold-request-form').preventDoubleFormSubmit(); [% UNLESS ( borrowernumber || borrower_list || noitems ) %] @@ -295,7 +301,7 @@ function checkMultiHold() {
[% END %] [% END %]