summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_logs.php')
-rwxr-xr-xsrc/usr/local/www/status_logs.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php
index 8894b44..fe9cd29 100755
--- a/src/usr/local/www/status_logs.php
+++ b/src/usr/local/www/status_logs.php
@@ -233,6 +233,15 @@ if (!$rawfilter) {
?>
</tbody>
</table>
+
+<script type="text/javascript">
+//<![CDATA[
+events.push(function() {
+ $("#count").html(<?=$rows?>);
+});
+//]]>
+</script>
+
<?php
if ($rows == 0) {
print_info_box(gettext('No logs to display'));
@@ -251,12 +260,4 @@ if (!$system_logs_manage_log_form_hidden) {
}
?>
-<script type="text/javascript">
-//<![CDATA[
-events.push(function() {
- $("#count").html(<?=$rows?>);
-});
-//]]>
-</script>
-
<?php include("foot.inc"); ?>
OpenPOWER on IntegriCloud