summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorFrancisco Cavalcante <francisco.cavalcante@bluepex.com>2016-01-22 14:20:24 -0200
committerFrancisco Cavalcante <francisco.cavalcante@bluepex.com>2016-01-22 14:20:24 -0200
commit3f98044a3dcb281a433ea6335285ecdf5da23d96 (patch)
tree0a45c32d7e46de2eb7fa01914b0f68e342eed999 /src/usr/local/www/status_queues.php
parent2f84d661d3d3687f71b89b141b6e1c24feb658d1 (diff)
downloadpfsense-3f98044a3dcb281a433ea6335285ecdf5da23d96.zip
pfsense-3f98044a3dcb281a433ea6335285ecdf5da23d96.tar.gz
Replaced jQuery to $ in same files
Diffstat (limited to 'src/usr/local/www/status_queues.php')
-rw-r--r--src/usr/local/www/status_queues.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/usr/local/www/status_queues.php b/src/usr/local/www/status_queues.php
index 9568b75..bc27f26 100644
--- a/src/usr/local/www/status_queues.php
+++ b/src/usr/local/www/status_queues.php
@@ -129,13 +129,13 @@ if ($_REQUEST['getactivity']) {
if ($packet_s < 0) {
$packet_s = 0;
}
- $finscript .= "jQuery('#queue{$q->queuename}width').css('width','{$packet_s}%');";
- $finscript .= "jQuery('#queue{$q->queuename}pps').val('" . number_format($q->pps, 1) . "');";
- $finscript .= "jQuery('#queue{$q->queuename}bps').val('" . format_bits($q->bandwidth) . "');";
- $finscript .= "jQuery('#queue{$q->queuename}borrows').val('{$q->borrows}');";
- $finscript .= "jQuery('#queue{$q->queuename}suspends').val('{$q->suspends}');";
- $finscript .= "jQuery('#queue{$q->queuename}drops').val('{$q->drops}');";
- $finscript .= "jQuery('#queue{$q->queuename}length').val('{$q->queuelength}');";
+ $finscript .= "$('#queue{$q->queuename}width').css('width','{$packet_s}%');";
+ $finscript .= "$('#queue{$q->queuename}pps').val('" . number_format($q->pps, 1) . "');";
+ $finscript .= "$('#queue{$q->queuename}bps').val('" . format_bits($q->bandwidth) . "');";
+ $finscript .= "$('#queue{$q->queuename}borrows').val('{$q->borrows}');";
+ $finscript .= "$('#queue{$q->queuename}suspends').val('{$q->suspends}');";
+ $finscript .= "$('#queue{$q->queuename}drops').val('{$q->drops}');";
+ $finscript .= "$('#queue{$q->queuename}length').val('{$q->queuelength}');";
}
unset($statistics, $altqstats);
header("Content-type: text/javascript");
@@ -160,8 +160,8 @@ if (!is_array($config['shaper']['queue']) || count($config['shaper']['queue']) <
//<![CDATA[
function getqueueactivity() {
var url = "/status_queues.php";
- var pars = "getactivity=yes&stats=" + jQuery("#selStatistic").val();
- jQuery.ajax(
+ var pars = "getactivity=yes&stats=" + $("#selStatistic").val();
+ $.ajax(
url,
{
type: 'post',
@@ -172,7 +172,7 @@ if (!is_array($config['shaper']['queue']) || count($config['shaper']['queue']) <
function activitycallback(transport) {
setTimeout('getqueueactivity()', 5100);
}
- jQuery(document).ready(function() {
+ $(document).ready(function() {
setTimeout('getqueueactivity()', 150);
});
//]]>
@@ -224,11 +224,11 @@ else: ?>
<script type="text/javascript">
//<![CDATA[
function StatsShowHide(classname) {
- var firstrow = jQuery("." + classname).first();
+ var firstrow = $("." + classname).first();
if (firstrow.is(':visible')) {
- jQuery("." + classname).hide();
+ $("." + classname).hide();
} else {
- jQuery("." + classname).show();
+ $("." + classname).show();
}
}
//]]>
OpenPOWER on IntegriCloud