aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-01-23 15:25:13 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-01-23 15:25:13 -0500
commitbbf299781fbb0e0cd2bdea7ed2f801fe29987ac4 (patch)
tree9b9bd675563234294a8b274dad9ca8d9999b4782 /config
parentd909ac739e19e3f0c8135942846ef00a25a84a8e (diff)
downloadpfsense-packages-bbf299781fbb0e0cd2bdea7ed2f801fe29987ac4.tar.gz
pfsense-packages-bbf299781fbb0e0cd2bdea7ed2f801fe29987ac4.tar.bz2
pfsense-packages-bbf299781fbb0e0cd2bdea7ed2f801fe29987ac4.zip
Scroll to bottom of page after outputting configuration file
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy/haproxy_global.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php
index e682f65a..af04c391 100755
--- a/config/haproxy/haproxy_global.php
+++ b/config/haproxy/haproxy_global.php
@@ -310,13 +310,13 @@ function enable_change(enable_change) {
?>
</div>
<div id="showconfiguration">
- <a onClick="new Effect.Fade('showconfiguration'); new Effect.Appear('configuration'); setTimeout('scroll_after_fade', 500); return false;" href="#">Show</a> automatically generated configuration.
+ <a onClick="new Effect.Fade('showconfiguration'); new Effect.Appear('configuration'); setTimeout('scroll_after_fade();', 250); return false;" href="#">Show</a> automatically generated configuration.
</div>
</form>
<script language="JavaScript">
function scroll_after_fade() {
- window.scrollBy(document_height, 0);
+ scrollTo(0,99999999999);
}
<!--
enable_change(false);