Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard ff7318c62e Bug 27124: JS error "select2Width is not defined"
This patch changes the default width paramter passed to the
select2 plugin. This allows the basic MARC editor's Select2
widgets to be styled differently than on other pages.

To test, apply the patch and view various pages where the select2 plugin
is used:

 - Basic MARC editor
 - Items edit
 - Batch item edit
 - Authority editor

In each case check that the Select2 plugin works correctly to style
fields like collection code and home library.

On the basic MARC editor page these <select>s should have a width
that adjusts as the browser window changes. On other pages the width
should be fixed.

Check the browser console and confirm that there are no JavaScript
errors.

Update: Thanks to Julian for the suggested optimization

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-12-21 10:07:40 +01:00
..
acqui Bug 26729: Add focus class to vendor name field in vendor add form 2020-11-04 17:32:35 +01:00
admin Bug 26946: Set maxlength for cash register name 2020-12-09 11:23:43 +01:00
authorities Bug 12533: (follow-up) Add CSS to preview display of authority MARC 2020-11-04 12:59:33 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 23475: Use localStorage to preserve simple search values 2020-11-30 11:14:58 +01:00
cataloguing Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
circ Bug 25534: Add missing td in tfoot in pendingreserves 2020-11-27 09:37:00 +01:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common Bug 26738: (QA follow-up) Add missing filter 2020-11-04 12:59:32 +01:00
course_reserves Bug 26819: (QA follow-up) authorized_value should be authorised_value 2020-11-25 14:38:11 +01:00
errors
ill Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
mana
members Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
offline_circ Bug 26212: Remove the use of jquery.checkboxes plugin from pending offline circulations 2020-08-18 15:45:49 +02:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
patroncards Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
plugins Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
pos Bug 26939: Add missing filters 2020-11-18 15:09:14 +01:00
reports Bug 27142: Don't interpolate batch_type variable 2020-12-09 11:08:20 +01:00
reserve Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table 2020-11-13 14:20:11 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26846: Fix regressions - Preselect expected and late serials 2020-11-18 09:34:51 +01:00
services
suggestion Bug 26738: (bug 24819 follow-up) Fix manager selection 2020-11-04 12:59:32 +01:00
tags Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
test
tools Bug 26336: Add hint before and remove select after staging with no items 2020-12-04 15:40:58 +01:00
virtualshelves Bug 26806: Remove 1 remaining occurrence of jquery.checkboxes.min.js 2020-11-03 10:57:35 +01:00
about.tt Bug 27044: Mark the PayPal integration as deprecated on the user interface 2020-11-24 21:27:59 +01:00
auth.tt Bug 24665: (QA follow-up) Fix selection default 2020-11-06 15:55:17 +01:00
intranet-main.tt Bug 26833: Logged in library doesn't show with suggestions count 2020-11-02 11:03:09 +01:00