updated user_booking file
This commit is contained in:
parent
a169680afb
commit
7ce99863e0
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@
|
||||||
<script>
|
<script>
|
||||||
function cancel_booking(id){
|
function cancel_booking(id){
|
||||||
if(confirm('Are you sure you want to cancel this booking?')){
|
if(confirm('Are you sure you want to cancel this booking?')){
|
||||||
let xhr = new XMLHttpRequest();
|
let xhr = new XMLHttpRequest();
|
||||||
xhr.open("POST", "ajax/cancel_booking.php", true);
|
xhr.open("POST", "ajax/cancel_booking.php", true);
|
||||||
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue