summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-01-27 00:13:55 -0800
committerStephen Beaver <sbeaver@netgate.com>2016-01-27 14:27:24 -0500
commit7345fad62bc286de210ca41dbed6c25a0171a95f (patch)
tree89ed983f8b016d824ab6f0202ba3b062f9562eb6 /src/usr/local/www/status_logs.php
parent46b531318c3c876d11c69edcd8c9211a2f01488e (diff)
downloadpfsense-7345fad62bc286de210ca41dbed6c25a0171a95f.zip
pfsense-7345fad62bc286de210ca41dbed6c25a0171a95f.tar.gz
Status - System Logs - Move Raw Mode Row Count JQuery
Move row count JQuery to run only in raw 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