CLOUDSTACK-3105: UI > Instances menu > Instance detailView > View Hosts > fix a bug that wrong parameter name is passed to listHosts API.

This commit is contained in:
Jessica Wang 2013-10-09 15:05:30 -07:00
parent 0b69e890e0
commit dc8f053d6a

View File

@ -11440,8 +11440,8 @@
array1.push("&podid=" + args.context.pods[0].id);
if ("clusters" in args.context)
array1.push("&clusterid=" + args.context.clusters[0].id);
} else {
array1.push("&hostid=" + args.context.instances[0].hostid);
} else { //Instances menu > Instance detailView > View Hosts
array1.push("&id=" + args.context.instances[0].hostid);
}
$.ajax({