1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-27 00:05:18 +02:00

Add a new column in alter table on key press

This commit is contained in:
Jakub Vrana
2013-07-06 22:49:39 -07:00
parent 6a551c2d73
commit 04a36e9af9
3 changed files with 7 additions and 1 deletions

View File

@@ -317,11 +317,15 @@ function editingAddRow(button, focus) {
tags[0].onchange = function () {
editingNameChange(tags[0]);
};
tags[0].onkeypress = function () {
};
row.parentNode.insertBefore(row2, row.nextSibling);
if (focus) {
input.onchange = function () {
editingNameChange(input);
};
input.onkeypress = function () {
};
input.focus();
}
added += '0';