1
0
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:
Jakub Vrana
2013-07-10 09:02:31 -07:00
parent 07db5e0bfb
commit 20285c4550
2 changed files with 3 additions and 3 deletions

View File

@@ -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();
}