You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2014/01/14 19:55:07 UTC
git commit: updated refs/heads/4.3 to 6936583
Updated Branches:
refs/heads/4.3 5bf5d3669 -> 69365836a
CLOUDSTACK-5557: UI > Network > VPC > Router > Public IP Address > fix a bug that Configuration tab was wrongly hidden.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/69365836
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/69365836
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/69365836
Branch: refs/heads/4.3
Commit: 69365836af993fad1f6d30da4bc300ee45f4c0f8
Parents: 5bf5d36
Author: Jessica Wang <je...@apache.org>
Authored: Tue Jan 14 10:54:49 2014 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Tue Jan 14 10:54:58 2014 -0800
----------------------------------------------------------------------
ui/scripts/network.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/69365836/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 610b1bdc..c404b55 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;
}