Bugzilla – Attachment 165868 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.11 KB, created by
Martin Renvoize (ashimema)
on 2024-04-30 12:01:06 UTC
(
hide
)
Description:
Bug 36545: (follow-up) Remove closeOnSelect option
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-30 12:01:06 UTC
Size:
1.11 KB
patch
obsolete
>From 6cb4b7e7fcbbbc28551a91fef329fbc0745d1731 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 > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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 3cc7bf87c89..eeb9145293f 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.44.0
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