From 69365836af993fad1f6d30da4bc300ee45f4c0f8 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 14 Jan 2014 10:54:49 -0800 Subject: [PATCH] CLOUDSTACK-5557: UI > Network > VPC > Router > Public IP Address > fix a bug that Configuration tab was wrongly hidden. --- ui/scripts/network.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 610b1bdc2dc..c404b55b9b7 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -2222,7 +2222,11 @@ } } - if (ipAddress.vpcid || ipAddress.issourcenat) { + if (ipAddress.issourcenat) { + disableIpRules = true; + } + + if (('vpc' in args.context) == false && ipAddress.vpcid != null) { //from Guest Network section, don't show Configuration(ipRules) tab on VPC IP disableIpRules = true; }