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/14 19:17:57 UTC

[65/81] [abbrv] git commit: updated refs/heads/ui-restyle to e901b82

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/991f9334
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/991f9334
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/991f9334

Branch: refs/heads/ui-restyle
Commit: 991f933492bde455649a5778aa010fa87770768f
Parents: 506520a
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:27:30 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/991f9334/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);