From 7ff6f0b6029d5daad2328542a4865407dbd35049 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 10 Oct 2013 12:26:42 -0700 Subject: [PATCH] CLOUDSTACK-3823: Show ICMP fields for protocolnumber --- ui/scripts/vpc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 8059d6b0d66..f25e57dc0a6 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);