Skip to content

Commit 73f95da

Browse files
committed
Enable install wizard
1 parent dd9aff1 commit 73f95da

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

‎ui/scripts/installWizard.js‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,16 @@
22
cloudStack.installWizard = {
33
// Check if install wizard should be invoked
44
check: function(args) {
5-
args.response.success({
6-
doInstall: false
5+
$.ajax({
6+
url: createURL('listZones'),
7+
dataType: 'json',
8+
async: true,
9+
success: function(data) {
10+
args.response.success({
11+
doInstall: !data.listzonesresponse.zone
12+
});
13+
}
714
});
8-
9-
// $.ajax({
10-
// url: createURL('listZones'),
11-
// dataType: 'json',
12-
// async: true,
13-
// success: function(data) {
14-
// args.response.success({
15-
// doInstall: !data.listzonesresponse.zone
16-
// });
17-
// }
18-
// });
1915
},
2016

2117
changeUser: function(args) {

0 commit comments

Comments
 (0)