diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 06:16:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 06:16:49 +0000 |
commit | a614b1ac08f18c207560fb2c6e93e69a9eb03a8e (patch) | |
tree | ff34f0584b5055056c71abaec981ec9a5bbde542 /usr/local | |
parent | d86962996a1d28e098c9bd216041cfa30282368d (diff) | |
download | pfsense-a614b1ac08f18c207560fb2c6e93e69a9eb03a8e.zip pfsense-a614b1ac08f18c207560fb2c6e93e69a9eb03a8e.tar.gz |
Clear notebox after clicking add a new one
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 700b2fd..1ea186c 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -1419,7 +1419,8 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" document.getElementById("save").style.display = 'none'; document.getElementById("cancel").style.display = 'none'; document.getElementById("gwsave").style.display = ''; - document.getElementById("gwcancel").style.display = ''; + document.getElementById("gwcancel").style.display = ''; + $('notebox').innerHTML=""; } function hide_add_gateway() { document.getElementById("addgateway").style.display = 'none'; |