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 <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-06-07 22:32:56 +02:00
parent 8f61348781
commit a5e8cf8553
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -30,7 +30,7 @@ AJAX.registerOnload('table/operations.js', function () {
if ($form.find('input[name=\'switch_to_new\']').prop('checked')) { if ($form.find('input[name=\'switch_to_new\']').prop('checked')) {
CommonParams.set( CommonParams.set(
'db', 'db',
$form.find('select[name=\'target_db\']').val() $form.find('select[name=\'target_db\'],input[name=\'target_db\']').val()
); );
CommonParams.set( CommonParams.set(
'table', 'table',