From 34a0c678b48d0e0f8ebe929551c474e0322a65de Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Tue, 10 Mar 2009 01:25:21 -0500 Subject: More Prototype-isms Whitespace cleanup --- config/imspector/services_imspector_logs.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config/imspector/services_imspector_logs.php b/config/imspector/services_imspector_logs.php index ecb8606f..f9e6d902 100644 --- a/config/imspector/services_imspector_logs.php +++ b/config/imspector/services_imspector_logs.php @@ -257,9 +257,14 @@ function setsection(value) section = value; clearTimeout(the_timeout); xmlhttpPost(); - document.getElementById('im_content').scrollTop = 0; - document.getElementById('im_content').scrollTop = document.getElementById('im_content').scrollHeight; + $('im_content').scrollTop = 0; + $('im_content').scrollTop = $('im_content').scrollHeight; } + +document.observe('dom:loaded', function() { + xmlhttpPost(); +}); + EOD; print($zz); @@ -271,22 +276,19 @@ print($zz);
 
- +
-
-
+
+
-
+
- - - -- cgit v1.2.3