summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs_filter.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_logs_filter.php')
-rw-r--r--src/usr/local/www/status_logs_filter.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php
index f655a18..e1883d3 100644
--- a/src/usr/local/www/status_logs_filter.php
+++ b/src/usr/local/www/status_logs_filter.php
@@ -336,6 +336,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'));
@@ -441,13 +450,5 @@ events.push(function() {
//]]>
</script>
-<script type="text/javascript">
-//<![CDATA[
-events.push(function() {
- $("#count").html(<?=$rows?>);
-});
-//]]>
-</script>
-
<?php include("foot.inc");
?>
OpenPOWER on IntegriCloud