mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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:
parent
f449cd7350
commit
43f2a44f37
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user