From 153160723398623e3c802134d49d7c83a2603fd9 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 Signed-off-by: Jonathan Druart --- 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 9f63efdec4..e191837096 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.39.5