Bug 29002: Properly reset item in form
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>
This commit is contained in:
parent
c067e17640
commit
927967d924
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ $("#placeBookingForm").on('submit', function(e) {
|
||||||
|
|
||||||
$('#placeBookingModal').on('hidden.bs.modal', function (e) {
|
$('#placeBookingModal').on('hidden.bs.modal', function (e) {
|
||||||
$('#booking_patron_id').val(null).trigger('change');
|
$('#booking_patron_id').val(null).trigger('change');
|
||||||
$('#booking_item_id').val(null).trigger('change');
|
$('#booking_item_id').val(0).trigger('change');
|
||||||
$("#period").get(0)._flatpickr.clear();
|
$("#period").get(0)._flatpickr.clear();
|
||||||
$('#booking_start_date').val('');
|
$('#booking_start_date').val('');
|
||||||
$('#booking_end_date').val('');
|
$('#booking_end_date').val('');
|
||||||
|
|
Loading…
Reference in a new issue