From 7cc6c5df2b73ba0352dda62bbd327dc66fc7287a 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 --- 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 6b021298f6e..a98d4d4fda3 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.31.1