1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Clear column name after resetting search (bug #3601200)

This commit is contained in:
Jakub Vrana
2013-04-04 18:32:05 -07:00
parent 1a1b800b40
commit 3093f58157
4 changed files with 13 additions and 3 deletions

View File

@@ -255,6 +255,15 @@ function selectAddRow(field) {
field.parentNode.parentNode.appendChild(row);
}
/** Clear column name after resetting search
* @param HTMLInputElement
*/
function selectSearch(el) {
if (!el.value) {
el.parentNode.firstChild.selectedIndex = 0;
}
}
/** Toggles column context menu