cloudstack 3.0 new UI - system page - secondary storage is under zone level. So, podID and clsuterID will never be used when getting secondary storage list.

This commit is contained in:
Jessica Wang 2012-01-09 15:38:45 -08:00
parent f449cd7350
commit 43f2a44f37

View File

@ -6303,11 +6303,7 @@
}
}
}
array1.push("&zoneid=" + args.context.zones[0].id);
if("pods" in args.context)
array1.push("&podid=" + args.context.pods[0].id);
if("clusters" in args.context)
array1.push("&clusterid=" + args.context.clusters[0].id);
array1.push("&zoneid=" + args.context.zones[0].id);
$.ajax({
url: createURL("listHosts&type=SecondaryStorage&page=" + args.page + "&pagesize=" + pageSize + array1.join("")),
dataType: "json",