Make a JS redirection and not a history replace after successful booking.

This commit is contained in:
alext 2017-03-10 09:25:07 +01:00
parent 1fab63a08b
commit a13c339167
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ window.FrontendBookApi = window.FrontendBookApi || {};
return false; return false;
} }
window.location.replace(GlobalVariables.baseUrl window.location.href = GlobalVariables.baseUrl
+ '/index.php/appointments/book_success/' + response.appointment_id); + '/index.php/appointments/book_success/' + response.appointment_id;
}) })
.fail(function(jqxhr, textStatus, errorThrown) { .fail(function(jqxhr, textStatus, errorThrown) {
$('.captcha-title small').trigger('click'); $('.captcha-title small').trigger('click');