CLOUDSTACK-3823: Show ICMP fields for protocolnumber

This commit is contained in:
Brian Federle 2013-10-10 12:26:42 -07:00
parent a414375632
commit 7ff6f0b602
1 changed files with 2 additions and 2 deletions

View File

@ -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);