diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 04:00:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 04:00:30 +0000 |
commit | 4d59f5fa2641b111f6cedf1edf88d657c1c0da56 (patch) | |
tree | aa7111e26fa136d1eecc10cf34f8cd3921040a3d /usr/local/www/interfaces.php | |
parent | 93650af0f5fc2860fbc1738fdbc65e469147e41b (diff) | |
download | pfsense-4d59f5fa2641b111f6cedf1edf88d657c1c0da56.zip pfsense-4d59f5fa2641b111f6cedf1edf88d657c1c0da56.tar.gz |
Hide dropdown when add gateway box is active
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index b29afe2..55fb96f 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -1398,10 +1398,12 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" function show_add_gateway() { document.getElementById("addgateway").style.display = ''; document.getElementById("addgwbox").style.display = 'none'; + document.getElementById("gateway").style.display = 'none'; } function hide_add_gateway() { document.getElementById("addgateway").style.display = 'none'; document.getElementById("addgwbox").style.display = ''; + document.getElementById("gateway").style.display = ''; } function hide_add_gatewaysave() { $('status').innerHTML = '<img src="/themes/metallic/images/misc/loader.gif">'; |