diff --git a/templates/default/net/netranges.html b/templates/default/net/netranges.html index 1d1530a05b..a682d5c86d 100644 --- a/templates/default/net/netranges.html +++ b/templates/default/net/netranges.html @@ -767,7 +767,7 @@

{$layout.pagetitle}

}).closest('label').toggle(linktype !== ''); $('[name="' + prefix + '[downlink]"],[name="' + prefix + '[uplink]"]').prop('required', false).closest('label').hide(); if (prefix == 'range') { - $('[name="range[downlink]"],[name="range[uplink]"]').each(function() { + $('[name="range[downlink]"]').each(function() { $(this).find('option').each(function() { var val = $(this).val(); $(this).toggle(linktype !== '{$smarty.const.LINKTYPE_WIRELESS}' || val === '' || parseInt(linktechnology) != 150 || parseInt(val) >= 30); @@ -790,7 +790,7 @@

{$layout.pagetitle}

}).closest('label').toggle(linktechnology !== ''); if (prefix == 'range') { var linktype = $('[name="range[linktype]"]').val(); - $('[name="range[downlink]"],[name="range[uplink]"]').each(function() { + $('[name="range[downlink]"]').each(function() { $(this).find('option').each(function() { var val = $(this).val(); $(this).toggle(linktype !== '{$smarty.const.LINKTYPE_WIRELESS}' || val === '' || parseInt(linktechnology) != 150 || parseInt(val) >= 30);