diff options
Diffstat (limited to 'src/usr/local/www/diag_pf_info.php')
-rw-r--r-- | src/usr/local/www/diag_pf_info.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_pf_info.php b/src/usr/local/www/diag_pf_info.php index c553b34..bd0d3f0 100644 --- a/src/usr/local/www/diag_pf_info.php +++ b/src/usr/local/www/diag_pf_info.php @@ -88,8 +88,9 @@ if ($_REQUEST['getactivity']) { include("head.inc"); -if ($input_errors) +if ($input_errors) { print_input_errors($input_errors); +} $form = new Form(false); $form->addGlobal(new Form_Input( @@ -114,8 +115,9 @@ print $form; <script type="text/javascript"> //<![CDATA[ function getpfinfo() { - if (!$('#refresh').is(':checked')) + if (!$('#refresh').is(':checked')) { return; + } $.ajax( '/diag_pf_info.php', @@ -128,7 +130,7 @@ print $form; }); } - events.push(function(){ + events.push(function() { setInterval('getpfinfo()', 2500); getpfinfo(); }); |