mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
17 lines
492 B
JavaScript
17 lines
492 B
JavaScript
(function($, cloudStack, testData) {
|
|
cloudStack.installWizard = {
|
|
// Check if install wizard should be invoked
|
|
check: function(args) {
|
|
$.ajax({
|
|
url: createURL('listZones'),
|
|
dataType: 'json',
|
|
async: true,
|
|
success: function(data) {
|
|
args.response.success({
|
|
doInstall: !(data.listzonesresponse.zone && data.listzonesresponse.zone.length)
|
|
});
|
|
}
|
|
});
|
|
}
|
|
};
|
|
}(jQuery, cloudStack, testData)); |