]> git.koha-community.org Git - koha.git/commit
Bug 29002: Empty select2 options for patron at modal close
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 27 Oct 2023 14:23:02 +0000 (15:23 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:29 +0000 (12:04 -0300)
commitc358f9cc45837113e4d4f9beb7ddefda53dd8bb8
tree2d0f06ff5f5b0af7795cd0847e06800881b145ae
parentf1bb412c775204879e7b34fa178c524fc4c0d3be
Bug 29002: Empty select2 options for patron at modal close

Select2's recommended reset doesn't remove <option> blocks it adds for
ajax responses.. as such it gets confused when you subsequently
re-initialise.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js