mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Make a JS redirection and not a history replace after successful booking.
This commit is contained in:
parent
1fab63a08b
commit
a13c339167
1 changed files with 2 additions and 2 deletions
|
@ -177,8 +177,8 @@ window.FrontendBookApi = window.FrontendBookApi || {};
|
|||
return false;
|
||||
}
|
||||
|
||||
window.location.replace(GlobalVariables.baseUrl
|
||||
+ '/index.php/appointments/book_success/' + response.appointment_id);
|
||||
window.location.href = GlobalVariables.baseUrl
|
||||
+ '/index.php/appointments/book_success/' + response.appointment_id;
|
||||
})
|
||||
.fail(function(jqxhr, textStatus, errorThrown) {
|
||||
$('.captcha-title small').trigger('click');
|
||||
|
|
Loading…
Reference in a new issue