From 678f3312fe8da2595abbfe34ce39cd5587aa99d4 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 15 Mar 2021 11:36:04 -0300 Subject: [PATCH] Bug 27864: Correct dropdown size This patch makes the dropdown width inherit the existing style. Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 1 + 1 file changed, 1 insertion(+) 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 6b021298f6..a98d4d4fda 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1244,6 +1244,7 @@ var biblio_id = $(this).data('biblio-id'); this_dropdown.select2({ + width: 'style', allowClear: false, ajax: { url: '/api/v1/biblios/' + encodeURIComponent(biblio_id) + '/pickup_locations', -- 2.11.0