diff --git a/domain-server/resources/web/js/shared.js b/domain-server/resources/web/js/shared.js index 02243fe53d..8d69d16c98 100644 --- a/domain-server/resources/web/js/shared.js +++ b/domain-server/resources/web/js/shared.js @@ -501,17 +501,16 @@ function prepareAccessTokenPrompt(callback) { } function createDomainIDPrompt(callback) { - swal( - { - title: 'Finish Registering Domain', - type: 'input', - text: 'Enter a label for this machine.

This will help you identify which domain ID belongs to which machine.

This is a required step for registration.

', - showCancelButton: true, - confirmButtonText: "Create", - closeOnConfirm: false, - html: true - }, function(inputValue) { - if (inputValue === false) { + swal({ + title: 'Finish Registering Domain', + type: 'input', + text: 'Enter a label for this machine.

This will help you identify which domain ID belongs to which machine.

This is a required step for registration.

', + showCancelButton: true, + confirmButtonText: "Create", + closeOnConfirm: false, + html: true + }, function(inputValue) { + if (inputValue === false) { return false; }