Update wizard.js

This commit is contained in:
kasenvr 2020-10-13 18:57:30 -04:00 committed by GitHub
parent 9624d3bb0c
commit 065971381d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ function setupWizardSteps() {
} }
function promptToCreateDomainID() { function promptToCreateDomainID() {
setTimeout(function(){ setTimeout(function() {
createDomainIDPrompt(function(label) { createDomainIDPrompt(function(label) {
var domainJSON = { var domainJSON = {
"label": label "label": label
@ -192,7 +192,7 @@ function promptToCreateDomainID() {
// POST the form JSON to the domain-server settings.json endpoint so the settings are saved // POST the form JSON to the domain-server settings.json endpoint so the settings are saved
postSettings(formJSON, goToNextStep); postSettings(formJSON, goToNextStep);
}, 'json').fail(function(){ }, 'json').fail(function() {
console.log("Failed to create domain ID..."); console.log("Failed to create domain ID...");
goToNextStep(); goToNextStep();
}); });