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 %] - + [% IF ( multi_hold ) %] @@ -347,14 +353,14 @@ function checkMultiHold() {
  • - Clear date + Clear date
  • [% END %]
  • - Clear date + Clear date
  • [% UNLESS ( multi_hold ) %] @@ -483,7 +489,7 @@ function checkMultiHold() { [% IF ( bibitemloo.hiddencount ) %] -

    Show all items ([% bibitemloo.hiddencount %] hidden)

    +

    Show all items ([% bibitemloo.hiddencount %] hidden)

    [% END %] [% END %]