mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - IP Addresses - Load Balancer - Add VM - populate only VMs under selected tier.
This commit is contained in:
parent
6582882666
commit
e1fbe9e530
|
|
@ -2027,10 +2027,17 @@
|
|||
dataProvider: function(args) {
|
||||
var itemData = $.isArray(args.context.multiRule) && args.context.multiRule[0]['_itemData'] ?
|
||||
args.context.multiRule[0]['_itemData'] : [];
|
||||
|
||||
var networkid;
|
||||
if('vpc' in args.context)
|
||||
networkid = args.context.multiData.tier;
|
||||
else
|
||||
networkid = args.context.ipAddresses[0].associatednetworkid;
|
||||
|
||||
var data = {
|
||||
page: args.page,
|
||||
pageSize: pageSize,
|
||||
networkid: args.context.ipAddresses[0].associatednetworkid,
|
||||
networkid: networkid,
|
||||
listAll: true
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue