Bug 25727: Default to dropdownAutoWidth

This will set a correct width by default.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-08-17 14:39:43 +00:00
parent 46e6df4d22
commit 9b00a25ab7

View file

@ -7,6 +7,7 @@
<script>
$.fn.select2.defaults.set("allowClear", true);
$.fn.select2.defaults.set("placeholder", "");
$.fn.select2.defaults.set("dropdownAutoWidth", true);
// Internationalization
$.fn.select2.defaults.set("language", {