Lines 489-494
$("#placeBookingForm").on('submit', function(e) {
Link Here
|
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 540-545
$("#placeBookingForm").on('submit', function(e) {
Link Here
|
540 |
timeline.focus(data.booking_id); |
543 |
timeline.focus(data.booking_id); |
541 |
} |
544 |
} |
542 |
|
545 |
|
|
|
546 |
<<<<<<< HEAD |
547 |
======= |
548 |
// Set feedback |
549 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>'); |
550 |
|
551 |
>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings) |
543 |
// Close modal |
552 |
// Close modal |
544 |
$('#placeBookingModal').modal('hide'); |
553 |
$('#placeBookingModal').modal('hide'); |
545 |
}); |
554 |
}); |
546 |
- |
|
|