Bug 29002: Fix item select options
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Oct 2023 11:07:49 +0000 (12:07 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:23 +0000 (12:04 -0300)
commit63d710e3b3580b319e49b34bb7abcf713c40deab
treeb25c1c3f848b66323c215a5abfd623bb45a17051
parentd13e49854afb5e7c22f8771a65b7a85d4575f488
Bug 29002: Fix item select options

SQUASH INTO RESET BUG?

This patch ensures that when a period is not selected we remove all item
selection limitations from the item select.

Prior to this patch, if you clicked to edit a booking, cancelled, then
clicked to place a new booking.. the modal would prevent selection of
the item which you just edited.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
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