From 4f6335bb590a69fdce34639463fa41b3cac1c526 Mon Sep 17 00:00:00 2001 From: akritianand Date: Mon, 4 Sep 2017 00:55:12 -0700 Subject: [PATCH] Do not include messages when copying results Unnecessary data should not come in clipboard copied table. Fixes #13617 Signed-off-by: Akriti Anand --- js/sql.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/sql.js b/js/sql.js index 19dd9f0b80..d136c2c290 100644 --- a/js/sql.js +++ b/js/sql.js @@ -258,8 +258,7 @@ AJAX.registerOnload('sql.js', function () { }); textArea.value += '\t\t' + window.location.href; textArea.value += '\n'; - - $('.notice,.success').each(function(){ + $('.success').each(function(){ textArea.value += $(this).text() + '\n\n'; });