mirror of
https://github.com/vrana/adminer.git
synced 2025-08-29 01:00:07 +02:00
Add editing row after writing first character
This commit is contained in:
@@ -317,14 +317,14 @@ function editingAddRow(button, focus) {
|
||||
tags[0].onchange = function () {
|
||||
editingNameChange(tags[0]);
|
||||
};
|
||||
tags[0].onkeypress = function () {
|
||||
tags[0].onkeyup = function () {
|
||||
};
|
||||
row.parentNode.insertBefore(row2, row.nextSibling);
|
||||
if (focus) {
|
||||
input.onchange = function () {
|
||||
editingNameChange(input);
|
||||
};
|
||||
input.onkeypress = function () {
|
||||
input.onkeyup = function () {
|
||||
};
|
||||
input.focus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user