1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-26 15:54:34 +02:00

Unselect original function on key up

This commit is contained in:
Jakub Vrana
2013-08-09 17:00:05 -07:00
parent 3f47f63c61
commit 657191eed8
3 changed files with 12 additions and 2 deletions

View File

@@ -435,6 +435,16 @@ function functionChange(select) {
helpClose();
}
/** Call this.onchange() if value changes
* @this HTMLInputElement
*/
function keyupChange() {
if (this.value != this.getAttribute('value')) {
this.onchange();
this.setAttribute('value', this.value);
}
}
/** Create AJAX request