mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3823: Show ICMP fields for protocolnumber
This commit is contained in:
parent
a414375632
commit
7ff6f0b602
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue