From df2a8b1972805c6b845650c119bf9a37ee228586 Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Sun, 5 Aug 2012 03:10:24 +0530 Subject: [PATCH] Remove commented code --- js/server_status.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/js/server_status.js b/js/server_status.js index e3a5fb23bc..4f355d8322 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -340,28 +340,6 @@ $(function() { $('.buttonlinks a.livequeriesLink').click(function() { var $tab = $(this).parents('div.ui-tabs-panel'); if (tabStatus[$tab.attr('id')] == 'static') { - /* - settings = { - series: [ { name: PMA_messages['strChartIssuedQueries'], data: [] } ], - title: { text: PMA_messages['strChartIssuedQueriesTitle'] }, - tooltip: { formatter: function() { return this.point.name; } }, - realtime: { url: 'server_status.php?' + url_query, - type: 'queries', - callback: function(chartObj, curVal, lastVal, numLoadedPoints) { - if (lastVal == null) { return; } - chartObj.series[0].addPoint({ - x: curVal.x, - y: curVal.y - lastVal.y, - name: sortedQueriesPointInfo(curVal, lastVal) - }, - true, - numLoadedPoints >= chartObj.options.realtime.numMaxPoints - ); - }, - error: function() { serverResponseError(); } - } - }; - */ $tab.find('.tabInnerContent') .hide() .after('
');