From 6431883648998928ce85513ae40f2396b905ac9c Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 27 Mar 2015 09:53:43 +0530 Subject: [PATCH] Missing tooltip in monitor Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + js/server_status_monitor.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e628e7c5d9..8a709e97ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug #4819 Request URI too large - bug #4814 MySQL 5.7.6 and Databases - bug Use 'server' parameter in console to work in multi server environments +- bug Missing tooltip in monitor 4.4.0.0 (not yet released) + rfe #1553 InnoDB presently supports one FULLTEXT index creation at a time diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 6e61d8b3fa..571347cb66 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1611,7 +1611,7 @@ AJAX.registerOnload('server_status_monitor.js', function () { } if (logData.rows.length !== 0) { - runtime.logDataCols = buildLogTable(logData); + runtime.logDataCols = buildLogTable(logData, removeVariables); /* Show some stats in the dialog */ $('#emptyDialog').dialog({title: PMA_messages.strLoadingLogs}); @@ -1853,7 +1853,7 @@ AJAX.registerOnload('server_status_monitor.js', function () { } /* Constructs the log table out of the retrieved server data */ - function buildLogTable(data) { + function buildLogTable(data, groupInserts) { var rows = data.rows; var cols = []; var $table = $('
'); @@ -1904,8 +1904,8 @@ AJAX.registerOnload('server_status_monitor.js', function () { '' + data.sum.TOTAL + ''); // Append a tooltip to the count column, if there exist one - if ($('#logTable th:last').html() == '#') { - $('#logTable th:last').append(' ' + PMA_getImage('b_docs.png', '', {'class': 'qroupedQueryInfoIcon'})); + if ($('#logTable tr:first th:last').text().indexOf("#") > -1) { + $('#logTable tr:first th:last').append(' ' + PMA_getImage('b_docs.png', '', {'class': 'qroupedQueryInfoIcon'})); var tooltipContent = PMA_messages.strCountColumnExplanation; if (groupInserts) {