CLOUDSTACK-4713: UI > EIP/ELB Basic Zone - fix a bug that IPs that are acquired are not showing in listView of IP Addresses page under Network menu.

This commit is contained in:
Jessica Wang 2013-09-19 16:44:42 -07:00
parent fa297948f0
commit e81a2b4ff2
1 changed files with 3 additions and 0 deletions

View File

@ -2057,6 +2057,8 @@
var data = {};
listViewDataProvider(args, data);
//The following 10 lines caused CLOUDSTACK-4713 (EIP/ELB Basic Zone - unable to see any IPs that are acquired)
/*
if (g_supportELB == "guest") // IPs are allocated on guest network
$.extend(data, {
forvirtualnetwork: false,
@ -2067,6 +2069,7 @@
forvirtualnetwork: true,
forloadbalancing: true
});
*/
if (args.context.networks) {
$.extend(data, {