Lines 789-795
$("#placeBookingForm").on("submit", function (e) {
Link Here
|
789 |
); |
789 |
); |
790 |
|
790 |
|
791 |
// Set feedback |
791 |
// Set feedback |
792 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully placed")+'</div>'); |
792 |
$("#transient_result").replaceWith( |
|
|
793 |
'<div id="transient_result" class="dialog message">' + |
794 |
_("Booking successfully placed") + |
795 |
"</div>" |
796 |
); |
793 |
|
797 |
|
794 |
// Close modal |
798 |
// Close modal |
795 |
$("#placeBookingModal").modal("hide"); |
799 |
$("#placeBookingModal").modal("hide"); |
Lines 852-863
$("#placeBookingForm").on("submit", function (e) {
Link Here
|
852 |
timeline.focus(data.booking_id); |
856 |
timeline.focus(data.booking_id); |
853 |
} |
857 |
} |
854 |
|
858 |
|
855 |
<<<<<<< HEAD |
|
|
856 |
======= |
857 |
// Set feedback |
859 |
// Set feedback |
858 |
$('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>'); |
860 |
$("#transient_result").replaceWith( |
|
|
861 |
'<div id="transient_result" class="dialog message">' + |
862 |
_("Booking successfully updated") + |
863 |
"</div>" |
864 |
); |
859 |
|
865 |
|
860 |
>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings) |
|
|
861 |
// Close modal |
866 |
// Close modal |
862 |
$("#placeBookingModal").modal("hide"); |
867 |
$("#placeBookingModal").modal("hide"); |
863 |
}); |
868 |
}); |
864 |
- |
|
|