Lines 615-621
$("#placeBookingForm").on("submit", function (e) {
Link Here
|
615 |
); |
615 |
); |
616 |
|
616 |
|
617 |
// Set feedback |
617 |
// Set feedback |
618 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully placed")+'</div>'); |
618 |
$("#transient_result").replaceWith( |
|
|
619 |
'<div id="transient_result" class="dialog message">' + |
620 |
_("Booking successfully placed") + |
621 |
"</div>" |
622 |
); |
619 |
|
623 |
|
620 |
// Close modal |
624 |
// Close modal |
621 |
$("#placeBookingModal").modal("hide"); |
625 |
$("#placeBookingModal").modal("hide"); |
Lines 677-688
$("#placeBookingForm").on("submit", function (e) {
Link Here
|
677 |
timeline.focus(data.booking_id); |
681 |
timeline.focus(data.booking_id); |
678 |
} |
682 |
} |
679 |
|
683 |
|
680 |
<<<<<<< HEAD |
|
|
681 |
======= |
682 |
// Set feedback |
684 |
// Set feedback |
683 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>'); |
685 |
$("#transient_result").replaceWith( |
|
|
686 |
'<div id="transient_result" class="dialog message">' + |
687 |
_("Booking successfully updated") + |
688 |
"</div>" |
689 |
); |
684 |
|
690 |
|
685 |
>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings) |
|
|
686 |
// Close modal |
691 |
// Close modal |
687 |
$("#placeBookingModal").modal("hide"); |
692 |
$("#placeBookingModal").modal("hide"); |
688 |
}); |
693 |
}); |
689 |
- |
|
|