fix a JS error "args.groupedData is undefined" (which caused "Adding cluster...." message as hanging in last step in new zone wizard)

This commit is contained in:
Jessica Wang 2012-01-25 14:04:35 -08:00
parent 4efd42cac1
commit 5e5579a210

View File

@ -2038,7 +2038,7 @@
dataType: "json",
async: true,
success: function(json) {
if(args.groupedData.cluster.hypervisor != "VMware") {
if(args.data.hypervisor != "VMware") {
stepFns.addHost({
data: $.extend(args.data, {
returnedCluster: json.addclusterresponse.cluster[0]