Shows source ports when they are already defined

This commit is contained in:
Vinicius Coque 2010-08-13 13:48:54 -03:00
parent bfa790df99
commit d886ebd6d4
2 changed files with 5 additions and 2 deletions

View File

@ -1381,6 +1381,7 @@ include("head.inc");
ext_change();
typesel_change();
proto_change();
show_source_port_range();
<?php
$isfirst = 0;

View File

@ -44,8 +44,10 @@ function ext_change() {
}
function show_source_port_range() {
document.getElementById("sprtable").style.display = '';
document.getElementById("showadvancedboxspr").style.display = 'none';
if(portsenabled) {
document.getElementById("sprtable").style.display = '';
document.getElementById("showadvancedboxspr").style.display = 'none';
}
}
function typesel_change() {