Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 529182aaf3 Bug 25727: Fix default values
The way we defined the default values does not longer work (?)
Using
  $.fn.select2.defaults.set
instead of
  jQuery.extend($.fn.select2.defaults, {
fixes the problem.

It restores the allowClear setting.

There is a change in the behavior here, the selection opens when the
clear button is clicked. That is coming from a change in Select2
apparently. We may want to hack something to restore the precedent
behaviour.

This patch also removes the redefinition of the width. It seems that the
issue that this code was trying to correct is now fixed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-24 11:19:03 +02:00
..
css Bug 26189: Compiled CSS 2020-08-24 11:06:39 +02:00
en Bug 25727: Fix default values 2020-08-24 11:19:03 +02:00
img Bug 23148: Replace Bridge icons with transparent PNG files 2020-07-20 16:16:37 +02:00
js Bug 25430: Use label-default for 0 2020-08-20 12:25:19 +02:00
pdf
sound