diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 8ce2f709..32eebb83 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1341,7 +1341,7 @@ function edit_form($TABLE, $fields, $row, $update) { if (!$fields) { echo "

" . lang('You have no privileges to update this table.') . "\n"; } else { - echo "\n"; + echo "
" . script("qsl('table').onkeydown = editingKeydown;"); foreach ($fields as $name => $field) { echo "
" . $adminer->fieldName($field); diff --git a/editor/db.inc.php b/editor/db.inc.php index bfba68e8..1c9781b4 100644 --- a/editor/db.inc.php +++ b/editor/db.inc.php @@ -9,7 +9,11 @@ if ($adminer->homepage()) { } echo "\n"; echo script("mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});"); - echo '\n"; + echo ''; + echo '\n"; foreach (table_status() as $table => $row) { $name = $adminer->tableName($row);
' . lang('Table') . '' . lang('Rows') . "
' . script("qs('#check-all').onclick = partial(formCheck, /^tables\[/);", ""); + echo '' . lang('Table'); + echo '' . lang('Rows'); + echo "