summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-25 04:56:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-25 04:56:30 +0000
commita6508e3579986eb19106975a1213f0245ff7fc6f (patch)
treebb03cabc2aa3c237be569fbe91c1e9215fee6e5b /usr/local/www/interfaces.php
parent6a39144960f568088c02e6db11d549dde547f83b (diff)
downloadpfsense-a6508e3579986eb19106975a1213f0245ff7fc6f.zip
pfsense-a6508e3579986eb19106975a1213f0245ff7fc6f.tar.gz
Use show, not appear
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 1596ff3..b000994 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1446,6 +1446,7 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
}
function report_failure() {
alert("Sorry, we could not create your gateway at this time.");
+ hide_add_gateway();
}
function save_callback(transport) {
var response = transport.responseText;
@@ -1463,7 +1464,7 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
}
<?php
if ($if == "wan" || $if == "lan")
- echo "\$('allcfg').appear();";
+ echo "\$('allcfg').show();";
else
echo "show_allcfg(document.iform.enable);";
echo "updateType('{$pconfig['type']}')";
OpenPOWER on IntegriCloud