Bugzilla – Attachment 100282 Details for
Bug 24814
HTML forms set a minimal width for dropdown combo with empty set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24814: HTML forms set a minimal width for dropdown combo with empty set.
Bug-24814-HTML-forms-set-a-minimal-width-for-dropd.patch (text/plain), 1.47 KB, created by
Owen Leonard
on 2020-03-06 17:09:22 UTC
(
hide
)
Description:
Bug 24814: HTML forms set a minimal width for dropdown combo with empty set.
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-03-06 17:09:22 UTC
Size:
1.47 KB
patch
obsolete
>From f697af61cec33395e2c60d4111ebebc9759dd1f3 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Thu, 5 Mar 2020 16:58:02 +0100 >Subject: [PATCH] Bug 24814: HTML forms set a minimal width for dropdown combo > with empty set. > >If there's no item, dropdown message "No matches found" is hard to read. > >Affect: >koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt > >To test: >- Select a catalogue notice in Koha intranet. >- Open add item form. >- Choose a dropdown combo with an empty set, 'j - Shelving control number' is a good candidate. >- Apply the patch. >- Re select the compo in open add item form. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >index 335420070de..2c600b6992a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >@@ -19,7 +19,9 @@ > // 26 is the margin-right of .select2-chosen when allowClear is false > width += 26; > } >- >+ if (width < 99) { >+ width = 99; >+ } > return width; > }, > >-- >2.11.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 24814
:
100202
| 100282