From 2b02655817526f4f695d3f62d6b48206a041f301 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 18 Nov 2020 15:48:13 +0000 Subject: [PATCH] Bug 27016: (QA follow-up) Move allowClear out of ajax Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 95f55fd960..2140eef611 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1158,9 +1158,9 @@ var hold_id = $(this).data('hold_id'); this_dropdown.select2({ + allowClear: false, ajax: { url: '/api/v1/holds/' + encodeURIComponent(hold_id) + '/pickup_locations', - allowClear: false, delay: 300, // wait 300 milliseconds before triggering the request dataType: 'json', data: function (params) { -- 2.39.5