Supplier academy and small script organization.
This commit is contained in:
@ -312,7 +312,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
alert("Please choose if you are doing business with Walmart.");
|
||||
return;
|
||||
}
|
||||
payload = selectedBusiness === "yes"
|
||||
payload = selectedBusiness === "yes"
|
||||
? { group: "164ebbb5-5ad0-45d9-81ab-3b0930d63dc8", locale: "USA", id: "{{current_person.id}}" }
|
||||
: { group: "646fe445-cc88-4266-a6bd-8e28b977649e", locale: "USA", id: "{{current_person.id}}" };
|
||||
break;
|
||||
@ -334,8 +334,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
.then(() => {
|
||||
localStorage.setItem("modalFilled", "true");
|
||||
setTimeout(() => {
|
||||
location.reload();
|
||||
}, 4000);
|
||||
location.reload();
|
||||
}, 4000);
|
||||
})
|
||||
.catch(() => {
|
||||
alert("There was an error submitting the form.");
|
||||
@ -356,4 +356,4 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
if (loader) loader.remove();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user