diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-01-27 00:13:55 -0800 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-27 14:27:24 -0500 |
commit | 7345fad62bc286de210ca41dbed6c25a0171a95f (patch) | |
tree | 89ed983f8b016d824ab6f0202ba3b062f9562eb6 /src/usr/local/www/status_logs.php | |
parent | 46b531318c3c876d11c69edcd8c9211a2f01488e (diff) | |
download | pfsense-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-x | src/usr/local/www/status_logs.php | 17 |
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"); ?> |