summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_system_pftop.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2015-11-29 18:23:07 +0000
committerColin Fleming <cj_fleming@sky.com>2015-11-29 18:23:07 +0000
commit8fd9052f364f7c0d10d8244f3c1456c67baecc6d (patch)
tree7c49291e368a677d6be225d7f0375f6ce0bf7c63 /src/usr/local/www/diag_system_pftop.php
parentcbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff)
downloadpfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.zip
pfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.tar.gz
Type up SCRIPT tags
Diffstat (limited to 'src/usr/local/www/diag_system_pftop.php')
-rw-r--r--src/usr/local/www/diag_system_pftop.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_system_pftop.php b/src/usr/local/www/diag_system_pftop.php
index db06ed2..4191720 100644
--- a/src/usr/local/www/diag_system_pftop.php
+++ b/src/usr/local/www/diag_system_pftop.php
@@ -171,7 +171,8 @@ $form->add($section);
print $form;
?>
-<script>
+<script type="text/javascript">
+//<![CDATA[
function getpftopactivity() {
$.ajax(
'/diag_system_pftop.php',
@@ -190,6 +191,7 @@ print $form;
setInterval('getpftopactivity()', 2500);
getpftopactivity();
});
+//]]>
</script>
<?php
?>
@@ -200,7 +202,8 @@ print $form;
</div>
</div>
-<script>
+<script type="text/javascript">
+//<![CDATA[
events.push(function(){
$('#viewtype').on('change', function(){
if (['queue', 'label', 'rules'].indexOf($(this).val()) > -1)
@@ -209,5 +212,6 @@ events.push(function(){
$("#sorttype, #sorttypediv, #statesdiv, #states").parents('.form-group').show();
});
});
+//]]>
</script>
<?php include("foot.inc");
OpenPOWER on IntegriCloud