diff --git a/ui/scripts/installWizard.js b/ui/scripts/installWizard.js index c126424e611..6705f28aaed 100644 --- a/ui/scripts/installWizard.js +++ b/ui/scripts/installWizard.js @@ -2,20 +2,16 @@ cloudStack.installWizard = { // Check if install wizard should be invoked check: function(args) { - args.response.success({ - doInstall: false + $.ajax({ + url: createURL('listZones'), + dataType: 'json', + async: true, + success: function(data) { + args.response.success({ + doInstall: !data.listzonesresponse.zone + }); + } }); - - // $.ajax({ - // url: createURL('listZones'), - // dataType: 'json', - // async: true, - // success: function(data) { - // args.response.success({ - // doInstall: !data.listzonesresponse.zone - // }); - // } - // }); }, changeUser: function(args) {