From 76cef59f85180540176bd88c4e1669ba4f5bbe9c Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Tue, 22 Jul 2025 23:41:59 +0200 Subject: [PATCH] Fix copy to clipboard Signed-off-by: Liviu-Mihail Concioiu --- js/src/sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/sql.js b/js/src/sql.js index 38c4f82327..d7bb9272b0 100644 --- a/js/src/sql.js +++ b/js/src/sql.js @@ -410,7 +410,7 @@ AJAX.registerOnload('sql.js', function () { */ $(document).on('makeGrid', '.sqlqueryresults', function () { $('.table_results').each(function () { - if ($(this).find('td.grid_edit').length > 0) { + if (typeof window.makeGrid === 'function') { makeGrid(this); } });