Enable install wizard

This commit is contained in:
Brian Federle 2011-12-01 08:02:34 -08:00
parent dd9aff1bd0
commit 73f95dacda
1 changed files with 9 additions and 13 deletions

View File

@ -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) {