Bugzilla – Attachment 114807 Details for
Bug 27016
Make the pickup locations dropdowns use Select2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27016: Use $.fn.select2.defaults.set to set select2's width
Bug-27016-Use-fnselect2defaultsset-to-set-select2s.patch (text/plain), 1015 bytes, created by
Jonathan Druart
on 2021-01-04 15:27:45 UTC
(
hide
)
Description:
Bug 27016: Use $.fn.select2.defaults.set to set select2's width
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-04 15:27:45 UTC
Size:
1015 bytes
patch
obsolete
>From 150a1d6312558d35bd8f79edf571b073b9034c92 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 4 Jan 2021 16:24:21 +0100 >Subject: [PATCH] Bug 27016: Use $.fn.select2.defaults.set to set select2's > width > >See commit ff7318c62ec7097c5b88f7278b71d0cc7feb1f39 > Bug 27124: JS error "select2Width is not defined" >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 2140eef611..1fa9952a89 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -20,7 +20,7 @@ > > <body id="circ_request" class="catalog"> > <script> >- var select2Width = "100%"; >+ $.fn.select2.defaults.set("width", "100%" ); > </script> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'circ-search.inc' %] >-- >2.20.1
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 27016
:
113738
|
113740
|
113760
|
113791
|
113792
| 114807