aboutsummaryrefslogtreecommitdiffstats
path: root/config/imspector
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2009-03-10 22:25:13 -0500
committerBill Marquette <bill.marquette@gmail.com>2009-03-10 22:26:15 -0500
commit5227386a27292542a37025b23752febcd3cce5fb (patch)
tree4f5c50a2888e92d1ea8a0c037915be5eb6108e0c /config/imspector
parent9511c2764831e281783a9522a6ced837b548c354 (diff)
downloadpfsense-packages-5227386a27292542a37025b23752febcd3cce5fb.tar.gz
pfsense-packages-5227386a27292542a37025b23752febcd3cce5fb.tar.bz2
pfsense-packages-5227386a27292542a37025b23752febcd3cce5fb.zip
Revert "More Prototype-isms"
This reverts commit f68491164d4f3a0a22b5b630f8c34b3e950dd8fa.
Diffstat (limited to 'config/imspector')
-rw-r--r--config/imspector/services_imspector_logs.php20
1 files changed, 9 insertions, 11 deletions
diff --git a/config/imspector/services_imspector_logs.php b/config/imspector/services_imspector_logs.php
index f9e6d902..ecb8606f 100644
--- a/config/imspector/services_imspector_logs.php
+++ b/config/imspector/services_imspector_logs.php
@@ -257,14 +257,9 @@ function setsection(value)
section = value;
clearTimeout(the_timeout);
xmlhttpPost();
- $('im_content').scrollTop = 0;
- $('im_content').scrollTop = $('im_content').scrollHeight;
+ document.getElementById('im_content').scrollTop = 0;
+ document.getElementById('im_content').scrollTop = document.getElementById('im_content').scrollHeight;
}
-
-document.observe('dom:loaded', function() {
- xmlhttpPost();
-});
-
</script>
EOD;
print($zz);
@@ -276,19 +271,22 @@ print($zz);
<div style='width: 100%; text-align: right;'><span id='im_status' style='display: none;'>Updating</span>&nbsp;</div>
<table width="100%">
<tr>
- <td width="15%" bgcolor="<?=$default_bgcolor?>" style="overflow: auto; border: solid 1px <?=$border_color?>;">
- <div id="im_convos" style="height: 400px; overflow: auto; overflow-x: hidden;"></div>
- </td>
+ <td width="15%" bgcolor="<?=$default_bgcolor?>" style="overflow: auto; border: solid 1px <?=$border_color?>;">
+ <div id="im_convos" style="height: 400px; overflow: auto; overflow-x: hidden;"></div>
+ </td>
<td width="75%" bgcolor="<?=$default_bgcolor?>" style="border: solid 1px <?=$border_color?>;">
<div id="im_content_title" style="height: 20px; overflow: auto; vertical-align: top;
color: <?=$convo_title_color?>; background-color: <?=$convo_title_bgcolor?>;"></div>
- <div id="im_content" style="height: 380px; overflow: auto; vertical-align: bottom; overflow-x: hidden;"></div>
+ <div id="im_content" style="height: 380px; overflow: auto; vertical-align: bottom; overflow-x: hidden;"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
+
+<script type="text/javascript">xmlhttpPost();</script>
+
</div>
<?php include("fend.inc"); ?>
</body>