Lines 488-494
$("#placeBookingForm").on('submit', function(e) {
Link Here
|
488 |
|
488 |
|
489 |
// Update bookings counts |
489 |
// Update bookings counts |
490 |
$('.bookings_count').html(parseInt($('.bookings_count').html(), 10)+1); |
490 |
$('.bookings_count').html(parseInt($('.bookings_count').html(), 10)+1); |
491 |
|
491 |
|
|
|
492 |
// Set feedback |
493 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully placed")+'</div>'); |
494 |
|
492 |
// Close modal |
495 |
// Close modal |
493 |
$('#placeBookingModal').modal('hide'); |
496 |
$('#placeBookingModal').modal('hide'); |
494 |
}); |
497 |
}); |
Lines 539-545
$("#placeBookingForm").on('submit', function(e) {
Link Here
|
539 |
}); |
542 |
}); |
540 |
timeline.focus(data.booking_id); |
543 |
timeline.focus(data.booking_id); |
541 |
} |
544 |
} |
542 |
|
545 |
|
|
|
546 |
// Set feedback |
547 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>'); |
548 |
|
543 |
// Close modal |
549 |
// Close modal |
544 |
$('#placeBookingModal').modal('hide'); |
550 |
$('#placeBookingModal').modal('hide'); |
545 |
}); |
551 |
}); |
546 |
- |
|
|