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 e59e1d148b
commit 0c64bdadc0

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, {