From dc8f053d6aa1fb9ae58e8a238fcdaafdbfc8d972 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 9 Oct 2013 15:05:30 -0700 Subject: [PATCH] CLOUDSTACK-3105: UI > Instances menu > Instance detailView > View Hosts > fix a bug that wrong parameter name is passed to listHosts API. --- ui/scripts/system.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index d197d345e16..3d25f3487eb 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -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({