diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 6 | ||||
-rw-r--r-- | usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 2536cd9..0683beb 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -473,8 +473,10 @@ include("head.inc"); </td> </tr> </table> - <p> - <a href="#" onClick="show_source_port_range();">Advanced - Show source port range</a> + <div id="showadvancedboxspr"> + <p> + <a href="#" onClick="show_source_port_range();">Advanced - Show source port range</a> + </div> </td> </tr> <tr style="display:none" id="sourceportrangetable" name="sourceportrangetable"> diff --git a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js index c9b9ca9..ba2f0e3 100644 --- a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js +++ b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js @@ -42,6 +42,7 @@ function ext_change() { function show_source_port_range() { document.getElementById("sourceportrangetable").style.display = "table-row"; + document.getElementById("showadvancedboxspr").innerHTML=''; } function typesel_change() { |