Koha/koha-tmpl/intranet-tmpl/prog/js
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
..
pages
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 26439: Move cart-related strings out of js_includes.inc and into basket.js 2020-11-04 12:59:34 +01:00
basketgroup.js
biblio_framework.js
calendar.js
cart.js Bug 26439: (QA follow-up) Correct MSG instances in cart.js 2020-11-04 12:59:34 +01:00
catalog.js
cataloging.js Bug 27128: (bug 25728 follow-up) Don't prefill av's code 2020-12-04 15:32:56 +01:00
cataloging_additem.js
categories.js
charts.js
checkouts.js Bug 25583: Improve wording 2020-12-09 11:50:24 +01:00
circ-patron-search-results.js
datatables.js
desk_selection.js
file-upload.js
funds_sorts.js
holds.js Bug 26988: (follow-up) Change event to focus 2020-11-13 14:20:11 +01:00
ill-availability-partner.js
ill-availability.js
ill-list-table.js
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
register_selection.js Bug 24786: Allow selection of cash register at login 2020-11-06 15:39:59 +01:00
rotating-collections.js
select2.js Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 23475: Unset the storage if the values do not exist 2020-11-30 11:14:58 +01:00
subscription-add.js
table_filters.js
tools-menu.js
viewlog.js Bug 26572: (QA follow-up) Escape strings in autocomplete 2020-11-04 12:59:34 +01:00
xmlControlfield.js
z3950_search.js