From a5e8cf855314e446e0de7ef1c6f19d88f4297bcf Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 7 Jun 2020 22:32:56 +0200 Subject: [PATCH] Fix copy table to another database, the select can be an input when the DB count is > $cfg['MaxDbList'] See: Operations::getHtmlForCopytable Signed-off-by: William Desportes --- js/table/operations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/table/operations.js b/js/table/operations.js index 9bd2af8a35..8abf02b8c7 100644 --- a/js/table/operations.js +++ b/js/table/operations.js @@ -30,7 +30,7 @@ AJAX.registerOnload('table/operations.js', function () { if ($form.find('input[name=\'switch_to_new\']').prop('checked')) { CommonParams.set( 'db', - $form.find('select[name=\'target_db\']').val() + $form.find('select[name=\'target_db\'],input[name=\'target_db\']').val() ); CommonParams.set( 'table',