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 b8ed87246f
commit efd6dd4947
1 changed files with 2 additions and 2 deletions

View File

@ -11446,8 +11446,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({