summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-25 04:00:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-25 04:00:30 +0000
commit4d59f5fa2641b111f6cedf1edf88d657c1c0da56 (patch)
treeaa7111e26fa136d1eecc10cf34f8cd3921040a3d /usr/local/www/interfaces.php
parent93650af0f5fc2860fbc1738fdbc65e469147e41b (diff)
downloadpfsense-4d59f5fa2641b111f6cedf1edf88d657c1c0da56.zip
pfsense-4d59f5fa2641b111f6cedf1edf88d657c1c0da56.tar.gz
Hide dropdown when add gateway box is active
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php2
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">';
OpenPOWER on IntegriCloud