Bugzilla – Attachment 165838 Details for
Bug 36545
Use select2 to improve multi-select in item search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36545: (follow-up) Remove closeOnSelect option
Bug-36545-follow-up-Remove-closeOnSelect-option.patch (text/plain), 1.05 KB, created by
Owen Leonard
on 2024-04-30 10:37:40 UTC
(
hide
)
Description:
Bug 36545: (follow-up) Remove closeOnSelect option
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-04-30 10:37:40 UTC
Size:
1.05 KB
patch
obsolete
>From 6ab7c0523232feeb614c61ce7017ae5949afc19e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 30 Apr 2024 10:36:31 +0000 >Subject: [PATCH] Bug 36545: (follow-up) Remove closeOnSelect option > >--- > .../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(); > }); > }); > </script> >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36545
:
164561
|
164861
|
164862
|
165018
|
165019
|
165838
|
165866
|
165867
|
165868