From 43f2a44f37b4d302a9626bf0c3306144c881d0f2 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 9 Jan 2012 15:38:45 -0800 Subject: [PATCH] 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. --- ui/scripts/system.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index b508a4c15a0..ba73733be3b 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -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",