From e4e7d95a287425bdfce3f79a363c4696446d85b9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Apr 2024 10:36:31 +0000 Subject: [PATCH] Bug 36545: (follow-up) Remove closeOnSelect option Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index 3cc7bf87c8..eeb9145293 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -728,9 +728,7 @@ let selectFields = document.querySelectorAll('select[multiple]'); selectFields.forEach((selectField) => { selectField.style.minWidth = '320px'; - $(selectField).select2({ - closeOnSelect: false, - }); + $(selectField).select2(); }); }); -- 2.39.5