summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-03-28 09:00:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-03-28 09:00:44 -0300
commit7a47e29930e1670493962daf679b0a59db110114 (patch)
treedab635f2e5b9482f74763067f599c71344f56a66 /usr/local/www/interfaces.php
parentd6307bd38ef0d50caf1d0224a845a206f00da1aa (diff)
downloadpfsense-7a47e29930e1670493962daf679b0a59db110114.zip
pfsense-7a47e29930e1670493962daf679b0a59db110114.tar.gz
Avoid send user to top of the page when you open add new gateway box
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index b003fcb..17788e3 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1505,6 +1505,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</tr>
<tr style="display:none;" name="staticv4" id="staticv4">
<td colspan="2" style="padding:0px;">
+ <a name="gatewaysection"></a>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Static IPv4 configuration"); ?></td>
@@ -1546,7 +1547,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
}
?>
</select>
- - or <strong><a OnClick="show_add_gateway();" href="#"><?=gettext("add a new one."); ?></a></strong>
+ - or <strong><a OnClick="show_add_gateway();" href="#gatewaysection"><?=gettext("add a new one."); ?></a></strong>
<br/>
<div id='addgwbox'>
<?=gettext("If this interface is an Internet connection, select an existing Gateway from the list or add one using the link above"); ?>
@@ -1610,6 +1611,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</tr>
<tr style="display:none;" name="staticv6" id="staticv6">
<td colspan="2" style="padding:0px;">
+ <a name="gatewayv6section"></a>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Static IPv6 configuration"); ?></td>
@@ -1651,7 +1653,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
}
?>
</select>
- - or <strong><a OnClick="show_add_gateway_v6();" href="#"><?=gettext("add a new one."); ?></a></strong>
+ - or <strong><a OnClick="show_add_gateway_v6();" href="#gatewayv6section"><?=gettext("add a new one."); ?></a></strong>
<br/>
<div id='addgwboxv6'>
<?=gettext("If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the link above"); ?>
OpenPOWER on IntegriCloud