Add abort for previous ajax requests

This commit is contained in:
Abhishek Kumar
2022-11-23 13:06:30 +05:30
parent 2b0f42ad6f
commit 9c032e93fc
4 changed files with 13 additions and 6 deletions

View File

@@ -1061,7 +1061,7 @@ class ProductControllerCore extends FrontController
$response['html_booking_form'] = $html;
}
die(json_encode($response));
$this->ajaxDie(json_encode($response));
}
public function displayAjaxCheckRoomAvailabilityAndRate()