Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 9a9865d40a Bug 27732: JavaScript error on place hold page in the staff interface
This patch moves the "$.fn.select2.defaults" definition from the top of
the page to the bottom so that jQuery will be loaded first.

The patch also changes the "dropdownAutoWidth" default so that the
dropdown is sized correctly for its contents, regardless of the width of
the initial <select>.

To test, apply the patch and place a hold in the staff interface for a
title which already has existing holds.

- On the "Place a hold" page, before selecting a patron, you should see
  a table of exising holds. Test the "Pickup library" dropdown. It should
  work correctly.
- The width of the dropdown should accommodate its contents without
  forcing any library name to wrap.
- There should be no errors in the browser console.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-23 13:16:07 +01:00
..
data Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
includes Bug 24108: Remove extra spaces 2021-02-17 16:28:25 +01:00
modules Bug 27732: JavaScript error on place hold page in the staff interface 2021-02-23 13:16:07 +01:00
xslt Bug 12966: Add edition field to Card view 2021-02-15 11:57:27 +01:00
columns.def