From 47b0ee71b9b9590d2c57dcbc0a4d9c861316bd6f Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Thu, 6 Sep 2012 21:18:01 +0530 Subject: [PATCH] Fix static data refresh --- js/server_status.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/server_status.js b/js/server_status.js index 0409310ef0..c401ac83f8 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -546,14 +546,14 @@ $(function() { switch(tab.attr('id')) { case 'statustabs_traffic': if (data != null) { - tab.find('.tabInnerContent').html(data); + tab.find('.tabInnerContent').html(data.message); } PMA_showHints(); break; case 'statustabs_queries': if (data != null) { queryPieChart.destroy(); - tab.find('.tabInnerContent').html(data); + tab.find('.tabInnerContent').html(data.message); } // Build query statistics chart @@ -572,7 +572,7 @@ $(function() { case 'statustabs_allvars': if (data != null) { - tab.find('.tabInnerContent').html(data); + tab.find('.tabInnerContent').html(data.message); filterVariables(); } initTableSorter(tab.attr('id'));