Skip to content

Commit

Permalink
Fix copy table to another database, the select can be an input when t…
Browse files Browse the repository at this point in the history
…he DB count is > $cfg['MaxDbList']

See: Operations::getHtmlForCopytable
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jun 7, 2020
1 parent 8f61348 commit a5e8cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/table/operations.js
Expand Up @@ -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',
Expand Down

0 comments on commit a5e8cf8

Please sign in to comment.