diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 15:25:13 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 15:25:13 -0500 |
commit | bbf299781fbb0e0cd2bdea7ed2f801fe29987ac4 (patch) | |
tree | 9b9bd675563234294a8b274dad9ca8d9999b4782 /config/haproxy | |
parent | d909ac739e19e3f0c8135942846ef00a25a84a8e (diff) | |
download | pfsense-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/haproxy')
-rwxr-xr-x | config/haproxy/haproxy_global.php | 4 |
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); |