diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 1596ff3cb5..b00099448e 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" }