Checkout page was not working correctly on /invoice?id=

This commit is contained in:
nicolas.dorier
2017-10-17 11:16:34 +09:00
parent 4c57726be7
commit c96a25c9b9
2 changed files with 3 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ function emailForm() {
// Push the email to a server, once the reception is confirmed move on
customerEmail = emailAddress;
var path = window.location.pathname + "/UpdateCustomer";
var path = "i/" + invoiceId + "/UpdateCustomer";
$.ajax({
url: path,
@@ -186,7 +186,7 @@ function updateState(status) {
}
var watcher = setInterval(function () {
var path = window.location.pathname + "/status";
var path = "i/" + invoiceId + "/status";
$.ajax({
url: path,
type: "GET"