diff --git a/js/server_status.js b/js/server_status.js index 9935f599d3..d6d58d4ab8 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -112,8 +112,8 @@ $(function() { chart_activeTimeouts[chart.options.chart.renderTo] = setTimeout(chart.options.realtime.timeoutCallBack, chart.options.realtime.refreshRate); }); - // Ajax refresh of variables (always the first link in each tab) - $('.statuslinks a:nth-child(2)').click(function() { + // Ajax refresh of variables (always the first element in each tab) + $('.statuslinks a:nth-child(1)').click(function() { // ui-tabs-panel class is added by the jquery tabs feature var tab=$(this).parents('div.ui-tabs-panel'); var that = this; @@ -131,7 +131,7 @@ $(function() { return false; }); - /** Realtime charting of variables (always the second link) **/ + /** Realtime charting of variables (always the third element) **/ $('.statuslinks a:nth-child(3)').click(function() { // ui-tabs-panel class is added by the jquery tabs feature var tab=$(this).parents('div.ui-tabs-panel'); diff --git a/server_status.php b/server_status.php index 4dbac0c941..34330988c7 100644 --- a/server_status.php +++ b/server_status.php @@ -369,6 +369,10 @@ echo __('Runtime Information');