in statistics dialog, use live data, not non-existing json file

This commit is contained in:
rolux 2012-03-26 19:27:58 +00:00
parent fb91217671
commit 746a7a42c7

View file

@ -93,14 +93,14 @@ pandora.ui.statisticsDialog = function() {
$tabPanel; $tabPanel;
Ox.getJSON('/static/json/deleteme.json', function(result) { //Ox.getJSON('/static/json/deleteme.json', function(result) {
/* ///*
pandora.api.findUsers({ pandora.api.findUsers({
keys: ['browser', 'email', 'firstseen', 'lastseen', 'level', 'location', 'system'], keys: ['browser', 'email', 'firstseen', 'lastseen', 'level', 'location', 'system'],
range: [0, 1000000], range: [0, 1000000],
sort: [{key: 'username', operator: '+'}] sort: [{key: 'username', operator: '+'}]
}, function(result) { }, function(result) {
*/ //*/
var data = {}, var data = {},
flagCountry = {}, flagCountry = {},