Remove gateway/relay sorting

So main gateway/relay stay at start in charts
This commit is contained in:
AnthorNet committed 2015-06-08 08:22:40 +02:00
1 parent 85ab051b9a
commit 86cdb0d912
1 file changed
+2 -2
+2 -2
View File
@@ -357,7 +357,7 @@ var start = function(){
Highcharts.setOptions({global: {useUTC: false}});
// Grab gateways
gateways = gateways.sort();
//gateways = gateways.sort();
$.each(gateways, function(k, gateway){
gateway = gateway.replace('tcp://', '');
gateway = gateway.replace(':8500', '');
@@ -406,7 +406,7 @@ var start = function(){
}, updateInterval);
// Grab relays
relays = relays.sort();
//relays = relays.sort();
$.each(relays, function(k, relay){
$("select[name=relays]").append($('<option>', {
value: 'http://' + relay + ':' + relayBottlePort + '/stats/',