standardize variable names

This commit is contained in:
Eric A. Miller
2014-05-28 23:52:08 -04:00
parent cff24e4834
commit 2111a4079b
15 changed files with 32 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ $(document).ready(function() {
}
}, {
"data": 'broadcast',
"render": function(data, type, full, meta) {
"render": function(data, type, row, meta) {
return (data ? 'Yes' : 'No');
}
}, {
@@ -63,18 +63,18 @@ $(document).ready(function() {
"columns": [
{
"data": 'ssid',
"render": function(data, type, full, meta) {
"render": function(data, type, row, meta) {
return '<a href="[% uri_for('/report/portssid') %]?ssid=' + encodeURIComponent(data) + '">' + he.encode(data) + '</a>';
}
}, {
"data": 'broadcast',
"render": function(data, type, full, meta) {
"render": function(data, type, row, meta) {
return (data ? 'Yes' : 'No');
}
}, {
"data": 'count',
"searchable": false,
"render": function(data, type, full, meta) {
"render": function(data, type, row, meta) {
return data.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
},