You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/10 21:27:02 UTC

git commit: updated refs/heads/4.2 to 7ff6f0b

Updated Branches:
  refs/heads/4.2 a41437563 -> 7ff6f0b60


CLOUDSTACK-3823: Show ICMP fields for protocolnumber


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7ff6f0b6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7ff6f0b6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7ff6f0b6

Branch: refs/heads/4.2
Commit: 7ff6f0b6029d5daad2328542a4865407dbd35049
Parents: a414375
Author: Brian Federle <br...@citrix.com>
Authored: Thu Oct 10 12:26:42 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Thu Oct 10 12:26:59 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7ff6f0b6/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 8059d6b..f25e57d 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -137,7 +137,7 @@
                             });
 
                             if ($(this).val() == 'protocolnumber') {
-                                $icmpFields.hide();
+                                $icmpFields.show();
                                 $portFields.show();
                                 $protocolFields.show();
                                 $portFields.show();
@@ -191,7 +191,7 @@
                             });
 
                             if ($(this).val() == 'protocolnumber') {
-                                $icmpFields.hide();
+                                $icmpFields.show();
                                 $otherFields.hide();
                                 $protocolFields.show().addClass('required');
                                 $inputs.filter('[name=startport],[name=endport]').show().attr('disabled', false);