Fixed copy results to clipboard

Copy only results table, not all tables on the page.

Fixes #13550

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-08-02 08:12:41 +02:00
parent 33dd51eaf7
commit 12f54fd0cf
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog
- issue #13507 Fixed per server theme feature
- issue #13523 Missing newline in ALTER exports
- issue #13414 Fixed several compatibility issues with PHP 7.2
- issue #13550 Fixed copy results to clipboard
4.7.3 (2017-07-20)
- issue #13447 Large multi-line query removes Export operation and blanks query box options

View File

@ -273,7 +273,7 @@ AJAX.registerOnload('sql.js', function () {
});
textArea.value += '\n';
$('tbody tr').each(function() {
$('.table_results tbody tr').each(function() {
var childElementList = $(this).find('.data span');
childElementList.each(function(){
textArea.value += $(this).clone().children().remove().end().text() + '\t';